|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthenticationManager
Processes an Authentication request.
| Method Summary | |
|---|---|
Authentication |
authenticate(Authentication authentication)
Attempts to authenticate the passed Authentication object, returning a fully populated
Authentication object (including granted authorities) if successful. |
| Method Detail |
|---|
Authentication authenticate(Authentication authentication)
throws AuthenticationException
Authentication object, returning a fully populated
Authentication object (including granted authorities) if successful.
An AuthenticationManager must honour the following contract concerning exceptions:
DisabledException must be thrown if an account is disabled and the
AuthenticationManager can test for this state.LockedException must be thrown if an account is locked and the
AuthenticationManager can test for account locking.BadCredentialsException must be thrown if incorrect credentials are presented. Whilst the
above exceptions are optional, an AuthenticationManager must always test credentials.
authentication - the authentication request object
AuthenticationException - if authentication fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||