|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas.security.JResources
| Field Summary | |
static java.lang.String |
HEADER_XML
Xml Header |
| Constructor Summary | |
JResources(SecurityService s)
Create a JResoures list attached to a given SecurityService. |
|
| Method Summary | |
void |
addJResource(JResource jResource)
Add the Resource (memory, ldap, datasource,...) |
JResource |
getJResource(java.lang.String name)
|
java.util.Enumeration |
getResources()
|
JResource |
remove(java.lang.String resourceName)
Removes the named JResource from the JResource list. |
java.lang.String |
toXML()
String representation of the JOnAS realm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String HEADER_XML
| Constructor Detail |
public JResources(SecurityService s)
s - the parent SecurityService| Method Detail |
public void addJResource(JResource jResource)
throws java.lang.Exception
jResource - an instance of JResource or subclasses (JResourceMemory, JResourceDS,...)
java.lang.Exception - if the resource name already exists
public JResource remove(java.lang.String resourceName)
throws java.lang.Exception
resourceName - JResource name to be removed
java.lang.Exception - when JResource is not found with given name.public JResource getJResource(java.lang.String name)
name - the name of the JResource to get.
public java.util.Enumeration getResources()
public java.lang.String toXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||