|
|||||||||
| Home >> All >> org >> [ acegisecurity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.acegisecurity
Interface AuthenticationManager

- All Known Implementing Classes:
- AbstractAuthenticationManager
- public interface AuthenticationManager
Processes an Authentication request.
- Version:
- $Id: AuthenticationManager.java,v 1.3 2005/11/17 00:55:49 benalex Exp $
| 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 |
authenticate
public Authentication authenticate(Authentication authentication) throws AuthenticationException
- Attempts to authenticate the passed Authentication object,
returning a fully populated
Authenticationobject (including granted authorities) if successful.An
AuthenticationManagermust honour the following contract concerning exceptions:A
DisabledExceptionmust be thrown if an account is disabled and theAuthenticationManagercan test for this state.A
LockedExceptionmust be thrown if an account is locked and theAuthenticationManagercan test for account locking.A BadCredentialsException must be thrown if incorrect credentials are presented. Whilst the above exceptions are optional, an
AuthenticationManagermust always test credentials.Exceptions should be tested for and if applicable thrown in the order expressed above (ie if an account is disabled or locked, the authentication request is immediately rejected and the credentials testing process is not performed). This prevents credentials being tested against disabled or locked accounts.
|
|||||||||
| Home >> All >> org >> [ acegisecurity overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC