com.caucho.server.security
Class JaasAuthenticator

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

public class JaasAuthenticator
extends JaasAuthenticator

The JAAS authenticator uses an existing JAAS LoginModule. Applications which have existing JAAS modules can use the JaasAuthenticator to log users in based on the old login.

 <authenticator url="jaas:">
   <init login-module="example.MyLogin"/>
 </authenticator>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.security.AbstractAuthenticator
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER
 
Constructor Summary
JaasAuthenticator()
           
 
Method Summary
 
Methods inherited from class com.caucho.security.JaasAuthenticator
authenticate, init, isUserInRole, setInitParam, setLoginModule, setOptions
 
Methods inherited from class com.caucho.security.AbstractAuthenticator
addRoleMapping, authenticate, authenticate, authenticate, authenticate, digest, getAlgorithm, getDigest, getDigestSecret, getDigestSecret, getLogoutOnSessionTimeout, getPasswordDigest, getPasswordDigest, getPasswordDigestAlgorithm, getPasswordDigestRealm, getPasswordUser, getPasswordUser, getSingleSignon, 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

JaasAuthenticator

public JaasAuthenticator()