org.codehaus.plexus.security
Interface Authenticator


public interface Authenticator

Entity authentication functions.

Since:
Nov 20, 2002
Author:
Dan Diephouse

Field Summary
static java.lang.String ROLE
           
static java.lang.String SELECTOR_ROLE
           
 
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.
 

Field Detail

ROLE

public static final java.lang.String ROLE

SELECTOR_ROLE

public static final java.lang.String SELECTOR_ROLE
Method Detail

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