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).


Method Summary
 String authenticate()
          Authenticates the current user.
 

Method Detail

authenticate

public String authenticate()
                    throws AuthenticationFailedException
Authenticates the current user.

Returns:
the username of the user.
AuthenticationFailedException