org.objectweb.jonas.security.lib
Class JResourceManager
java.lang.Object
org.objectweb.jonas.security.lib.JResourceManager
public class JResourceManager
- extends Object
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_FILE_DTD
protected static final String CONFIG_FILE_DTD
- DTD of the realm configuration file
- See Also:
- Constant Field Values
getInstance
public static JResourceManager getInstance()
- Returns:
- returns the unique JResourceManager instance
createRealmDigester
protected org.apache.commons.digester.Digester createRealmDigester()
- Create and configure the Digester that will be used for the xml
parsing of the JOnAS realm file.
- Returns:
- Digester the digester containing the rules for the xml parsing
of the JOnAS realm file (jonas-realm.xml)
addResources
public void addResources(JResources res,
Reader reader,
String xml)
throws SecurityServiceException
- Add JResource(s) created from parsing of the reader contents inside the JResources given instance.
- Parameters:
res
- JResources element where JResource will be addded.reader
- XML Content Readerxml
- filename / xml : used in Error messages
- Throws:
SecurityServiceException
- When parsing fails
Copyright © 2007 OW2 Consortium. All Rights Reserved.