All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.beans.samples.dips.sessauth.SAAuthenticator
- public interface interface SAAuthenticator
- extends Serializable
This object describes the concept of an authenticator. An
authenticator is an object that knows how to validate
a particular principal. For example, the sample authenticator knows
how to validate the sample principal, which consists of a User ID and
Password.
This interface extends the interface Serializable.
Therefore, classes implementing this interface should
consider defining a serialVersionUID class variable such as:
private static final long serialVersionUID = 2000L;
- See Also:
- SAPrincipal, SampleSimpleAuthenticator, SamplePrincipal
-
authenticatePrincipal(SAPrincipal)
- Authenticates the principal.
-
changeAuthenticationInformation(SAPrincipal, SAPrincipal)
- Change this principal's authentication information.
authenticatePrincipal
public abstract boolean authenticatePrincipal(SAPrincipal principal)
- Authenticates the principal.
- Parameters:
- principal - The principal that is to be authenticated.
- Returns:
- true if authentication is successful; false otherwise.
changeAuthenticationInformation
public abstract boolean changeAuthenticationInformation(SAPrincipal oldPrincipal,
SAPrincipal newPrincipal)
- Change this principal's authentication information.
- Parameters:
- oldPrincipal - The authentication information of the original principal.
- newPrincipal - The revised authentication information.
- Returns:
- true if information was successfully changed; false otherwise.
All Packages Class Hierarchy This Package Previous Next Index