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, writeReplace
protected java.security.Principal authenticate(java.security.Principal user, PasswordCredentials cred, java.lang.Object details)
AbstractAuthenticator
authenticate
in class AbstractAuthenticator
public boolean isUserInRole(java.security.Principal user, java.lang.String role)
isUserInRole
in interface Authenticator
isUserInRole
in class AbstractAuthenticator
user
- the user to testrole
- the role to test