|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.security.AbstractRoleMap
com.caucho.security.XmlRoleMap
com.caucho.server.security.XmlRoleMap
@Service public class 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 |
---|
public XmlRoleMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |