| java.lang.Object com.caucho.server.security.AbstractAuthenticator com.caucho.server.security.JaasAuthenticator
JaasAuthenticator | public class JaasAuthenticator extends AbstractAuthenticator (Code) | | 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>
|
JaasAuthenticator | public JaasAuthenticator()(Code) | | |
setLoginModule | public void setLoginModule(Class loginModuleClass) throws ConfigException(Code) | | Sets the JAAS spi login module class.
|
Methods inherited from com.caucho.server.security.AbstractAuthenticator | public void addRoleMapping(Principal principal, String role)(Code)(Java Doc) protected byte[] digest(String value) throws ServletException(Code)(Java Doc) protected String getDigestPassword(HttpServletRequest request, HttpServletResponse response, ServletContext application, String username, String realm) throws ServletException(Code)(Java Doc) protected byte[] getDigestSecret(HttpServletRequest request, HttpServletResponse response, ServletContext application, String username, String realm, String algorithm) throws ServletException(Code)(Java Doc) public boolean getLogoutOnSessionTimeout()(Code)(Java Doc) public PasswordDigest getPasswordDigest()(Code)(Java Doc) public String getPasswordDigest(HttpServletRequest request, HttpServletResponse response, ServletContext app, String user, String password) throws ServletException(Code)(Java Doc) public String getPasswordDigestAlgorithm()(Code)(Java Doc) public String getPasswordDigestRealm()(Code)(Java Doc) public int getPrincipalCacheSize()(Code)(Java Doc) public Principal getUserPrincipal(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException(Code)(Java Doc) protected Principal getUserPrincipalImpl(HttpServletRequest request, ServletContext application) throws ServletException(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) public boolean isUserInRole(HttpServletRequest request, HttpServletResponse response, ServletContext application, Principal user, String role) throws ServletException(Code)(Java Doc) public Principal login(HttpServletRequest request, HttpServletResponse response, ServletContext app, String user, String password) throws ServletException(Code)(Java Doc) public Principal loginDigest(HttpServletRequest request, HttpServletResponse response, ServletContext app, String user, String realm, String nonce, String uri, String qop, String nc, String cnonce, byte[] clientDigest) throws ServletException(Code)(Java Doc) public Principal loginDigestImpl(HttpServletRequest request, HttpServletResponse response, ServletContext app, String user, String realm, String nonce, String uri, String qop, String nc, String cnonce, byte[] clientDigest) throws ServletException(Code)(Java Doc) protected Principal loginImpl(HttpServletRequest request, HttpServletResponse response, ServletContext application, String user, String password) throws ServletException(Code)(Java Doc) public void logout(ServletContext application, HttpSession timeoutSession, String sessionId, Principal user) throws ServletException(Code)(Java Doc) public void logout(HttpServletRequest request, HttpServletResponse response, ServletContext application, Principal user) throws ServletException(Code)(Java Doc) public void logout(ServletContext application, String sessionId, Principal user) throws ServletException(Code)(Java Doc) public void setLogoutOnSessionTimeout(boolean logout)(Code)(Java Doc) public void setPasswordDigest(PasswordDigest digest)(Code)(Java Doc) public void setPasswordDigestAlgorithm(String digest)(Code)(Java Doc) public void setPasswordDigestRealm(String realm)(Code)(Java Doc) public void setPrincipalCacheSize(int size)(Code)(Java Doc) public void setSerializationHandle(Object handle)(Code)(Java Doc) protected byte[] stringToDigest(String digest)(Code)(Java Doc) public String toString()(Code)(Java Doc) public Object writeReplace()(Code)(Java Doc)
|
|
|