com.caucho.security
Class AdminAuthenticator

java.lang.Object
  extended by com.caucho.security.AbstractAuthenticator
      extended by com.caucho.security.XmlAuthenticator
          extended by com.caucho.security.AdminAuthenticator
All Implemented Interfaces:
HandleAware, Authenticator, java.io.Serializable

@Service
@Admin
@Named(value="resin-admin-authenticator")
@Default
public class AdminAuthenticator
extends XmlAuthenticator

The admin authenticator provides authentication for Resin admin/management purposes. It's typically defined at the <resin> level.

 <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>
 

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.security.XmlAuthenticator
XmlAuthenticator.User
 
Field Summary
 
Fields inherited from class com.caucho.security.AbstractAuthenticator
_passwordDigest, _passwordDigestAlgorithm, _passwordDigestRealm, NULL_USER
 
Constructor Summary
AdminAuthenticator()
           
 
Method Summary
 java.lang.String getDefaultGroup()
          Returns the default group for a user
 boolean isComplete()
           
 
Methods inherited from class com.caucho.security.XmlAuthenticator
addUser, createUser, getPasswordUser, getPath, getUserMap, init, reload, setPath
 
Methods inherited from class com.caucho.security.AbstractAuthenticator
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdminAuthenticator

public AdminAuthenticator()
Method Detail

getDefaultGroup

public java.lang.String getDefaultGroup()
Description copied from class: XmlAuthenticator
Returns the default group for a user

Overrides:
getDefaultGroup in class XmlAuthenticator

isComplete

public boolean isComplete()