com.caucho.server.security
Class XmlRoleMap

java.lang.Object
  extended by com.caucho.security.AbstractRoleMap
      extended by com.caucho.security.XmlRoleMap
          extended by com.caucho.server.security.XmlRoleMap
All Implemented Interfaces:
RoleMap

@Service
public class XmlRoleMap
extends XmlRoleMap

The XML role-map reads a static file for authentication.

 <role-map url="xml:path=WEB-INF/role-map.xml"/>
 

The format of the static file is as follows:

 <role-map>
   <role name="admin" user="Harry Potter"/>
   ...
 </users>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.security.XmlRoleMap
XmlRoleMap.Role
 
Constructor Summary
XmlRoleMap()
           
 
Method Summary
 
Methods inherited from class com.caucho.security.XmlRoleMap
addRole, getPath, init, isUserInRole, reload, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlRoleMap

public XmlRoleMap()