public class NullAuthenticator extends AbstractAuthenticator
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER| Constructor and Description |
|---|
NullAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.security.Principal |
authenticate(java.security.Principal user,
PasswordCredentials cred,
java.lang.Object details)
Main authenticator API.
|
boolean |
isUserInRole(java.security.Principal user,
java.lang.String role)
Returns true if the user plays the named role.
|
addRoleMapping, authenticate, authenticate, authenticate, authenticate, digest, getAlgorithm, getDigest, getDigestSecret, getDigestSecret, getLogoutOnSessionTimeout, getPasswordDigest, getPasswordDigest, getPasswordDigestAlgorithm, getPasswordDigestRealm, getPasswordUser, getPasswordUser, getSingleSignon, init, logout, setLogoutOnSessionTimeout, setPasswordDigest, setPasswordDigestAlgorithm, setPasswordDigestRealm, setSerializationHandle, stringToDigest, toString, writeReplaceprotected java.security.Principal authenticate(java.security.Principal user,
PasswordCredentials cred,
java.lang.Object details)
AbstractAuthenticatorauthenticate in class AbstractAuthenticatorpublic boolean isUserInRole(java.security.Principal user,
java.lang.String role)
isUserInRole in interface AuthenticatorisUserInRole in class AbstractAuthenticatoruser - the user to testrole - the role to test