com.caucho.server.security
Class AbstractPasswordAuthenticator

java.lang.Object
  extended by com.caucho.security.AbstractAuthenticator
      extended by com.caucho.server.security.AbstractPasswordAuthenticator
All Implemented Interfaces:
HandleAware, Authenticator, java.io.Serializable

public abstract class AbstractPasswordAuthenticator
extends AbstractAuthenticator

Base class for authenticators which lookup passwords from a database. Implementations only need to override the getUser method and return a populated PasswordUser. Since PasswordUser already contains role information, the abstract authenticator can handle any authentication or authorization.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.security.AbstractAuthenticator
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER
 
Constructor Summary
AbstractPasswordAuthenticator()
           
 
Method Summary
 
Methods inherited from class com.caucho.security.AbstractAuthenticator
addRoleMapping, authenticate, authenticate, authenticate, authenticate, authenticate, digest, getAlgorithm, getDigest, getDigestSecret, getDigestSecret, getLogoutOnSessionTimeout, getPasswordDigest, getPasswordDigest, getPasswordDigestAlgorithm, getPasswordDigestRealm, getPasswordUser, getPasswordUser, getSingleSignon, init, isUserInRole, logout, setLogoutOnSessionTimeout, setPasswordDigest, setPasswordDigestAlgorithm, setPasswordDigestRealm, setSerializationHandle, stringToDigest, toString, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractPasswordAuthenticator

public AbstractPasswordAuthenticator()