org.syncope.console.commons
Class XMLRolesReader
java.lang.Object
org.syncope.console.commons.XMLRolesReader
public class XMLRolesReader
- extends Object
XMLRolesReader singleton class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLRolesReader
public XMLRolesReader()
XMLRolesReader
public XMLRolesReader(String authFilename)
throws SAXException,
IOException
- Class constructor.
- Parameters:
authFilename - - name of the authorizations file placed in
"/WEB-INF/classes"
- Throws:
SAXException
IOException
getAllAllowedRoles
public String getAllAllowedRoles(String pageId,
String actionId)
- Get all roles allowed for specific page and actio requested.
- Parameters:
pageId - actionId -
- Returns:
- roles list comma separated
getDocumentBuilder
public Document getDocumentBuilder()
throws SAXException,
IOException,
ParserConfigurationException
- Throws:
SAXException
IOException
ParserConfigurationException
Copyright © 2010. All Rights Reserved.