com.caucho.server.http
Class JdbcAuthenticator
java.lang.Object
|
+--com.caucho.server.http.AbstractAuthenticator
|
+--com.caucho.server.http.JdbcAuthenticator
- All Implemented Interfaces:
- Authenticator
- public class JdbcAuthenticator
- extends AbstractAuthenticator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcAuthenticator
public JdbcAuthenticator()
init
public void init(CauchoApplication app,
RegistryNode params)
throws ServletException
- Overrides:
init
in class AbstractAuthenticator
authenticateCookie
public java.security.Principal authenticateCookie(java.lang.String cookieValue)
- Overrides:
authenticateCookie
in class AbstractAuthenticator
updateCookie
public boolean updateCookie(java.security.Principal user,
java.lang.String cookieValue)
- Overrides:
updateCookie
in class AbstractAuthenticator
authenticate
public java.security.Principal authenticate(java.lang.String username,
java.lang.String password)
- Overrides:
authenticate
in class AbstractAuthenticator
isUserInRole
public boolean isUserInRole(java.security.Principal principal,
java.lang.String role)
- Overrides:
isUserInRole
in class AbstractAuthenticator