@Service public class XmlRoleMap extends XmlRoleMap
<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>
XmlRoleMap.Role
Constructor and Description |
---|
XmlRoleMap() |
addRole, getPath, init, isUserInRole, reload, setPath