org.objectweb.jac.aspects.authentication
Interface Authenticator
- All Known Implementing Classes:
- PasswordAuthenticator, SystemAuthenticator, TrustingAuthenticator
- public interface Authenticator
The role of a class that implements this interface is to ensure
that the AuthenticationAC.USER
contextual attribute
corresponds to an authenticated user (an existing user).
authenticate
public String authenticate()
throws AuthenticationFailedException
- Authenticates the current user.
- Returns:
- the username of the user.
AuthenticationFailedException