public class AbstractCookieAuthenticator extends AbstractAuthenticator implements CookieAuthenticator
The AbstractAuthenticator provides a single-signon cache. Users logged into one web-app will share the same principal.
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER| Constructor and Description |
|---|
AbstractCookieAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
associateCookie(java.security.Principal user,
java.lang.String cookieValue)
Associate the user with a cookie
|
java.security.Principal |
authenticateByCookie(java.lang.String cookieValue)
Authenticates the user based on the cookie
|
boolean |
isCookieSupported(java.lang.String jUseCookieAuth)
Test if cookie-based authentication is supported.
|
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, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitauthenticate, getAlgorithm, isUserInRole, logoutpublic boolean isCookieSupported(java.lang.String jUseCookieAuth)
isCookieSupported in interface CookieAuthenticatorpublic boolean associateCookie(java.security.Principal user,
java.lang.String cookieValue)
associateCookie in interface CookieAuthenticatorpublic java.security.Principal authenticateByCookie(java.lang.String cookieValue)
authenticateByCookie in interface CookieAuthenticator