org.codehaus.plexus.security
Interface Authenticator
- public interface Authenticator
Entity authentication functions.
- Since:
- Nov 20, 2002
- Author:
- Dan Diephouse
Method Summary |
java.lang.Object |
authenticate(java.util.Map tokens)
Return an Entity based on the Entity name and password. |
java.lang.Object |
getAnonymousEntity()
Return an anonymous entity that can be used to interact with
the system. |
ROLE
public static final java.lang.String ROLE
SELECTOR_ROLE
public static final java.lang.String SELECTOR_ROLE
authenticate
public java.lang.Object authenticate(java.util.Map tokens)
throws UnknownEntityException,
AuthenticationException,
UnauthorizedException
- Return an Entity based on the Entity name and password.
- Returns:
- Entity
- Throws:
UnknownEntityException
AuthenticationException
UnauthorizedException
getAnonymousEntity
public java.lang.Object getAnonymousEntity()
- Return an anonymous entity that can be used to interact with
the system.
- Returns:
- Entity