@Service @Admin @Named(value="resin-admin-authenticator") @Default public class AdminAuthenticator extends XmlAuthenticator
<resin:AdminAuthenticator path="WEB-INF/admin-users.xml"/>
The format of the static file is as follows:
<users>
<user name="h.potter" password="quidditch" roles="user,captain"/>
...
</users>
XmlAuthenticator.User
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER
Constructor and Description |
---|
AdminAuthenticator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultGroup()
Returns the default group for a user
|
boolean |
isComplete() |
addUser, createUser, getPasswordUser, getPath, getUserMap, init, reload, setPath
addRoleMapping, authenticate, authenticate, authenticate, authenticate, authenticate, digest, getAlgorithm, getDigest, getDigestSecret, getDigestSecret, getLogoutOnSessionTimeout, getPasswordDigest, getPasswordDigest, getPasswordDigestAlgorithm, getPasswordDigestRealm, getPasswordUser, getSingleSignon, isUserInRole, logout, setLogoutOnSessionTimeout, setPasswordDigest, setPasswordDigestAlgorithm, setPasswordDigestRealm, setSerializationHandle, stringToDigest, toString, writeReplace
public java.lang.String getDefaultGroup()
XmlAuthenticator
getDefaultGroup
in class XmlAuthenticator
public boolean isComplete()