|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.security.internal.JResources
public class JResources
| Field Summary | |
|---|---|
static String |
HEADER_XML
XML Header. |
| Constructor Summary | |
|---|---|
JResources(org.ow2.jonas.security.SecurityService s)
Create a JResoures list attached to a given SecurityService. |
|
| Method Summary | |
|---|---|
void |
addJResource(org.ow2.jonas.security.realm.factory.JResource jResource)
Add the Resource (memory, ldap, datasource,...). |
org.ow2.jonas.security.realm.factory.JResource |
getJResource(String name)
|
Enumeration<org.ow2.jonas.security.realm.factory.JResource> |
getResources()
|
org.ow2.jonas.security.realm.factory.JResource |
remove(String resourceName)
Removes the named JResource from the JResource list. |
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 String HEADER_XML
| Constructor Detail |
|---|
public JResources(org.ow2.jonas.security.SecurityService s)
s - the parent SecurityService| Method Detail |
|---|
public void addJResource(org.ow2.jonas.security.realm.factory.JResource jResource)
throws Exception
jResource - an instance of JResource or subclasses (JResourceMemory, JResourceDS,...)
Exception - if the resource name already exists
public org.ow2.jonas.security.realm.factory.JResource remove(String resourceName)
throws Exception
resourceName - JResource name to be removed
Exception - when JResource is not found with given name.public org.ow2.jonas.security.realm.factory.JResource getJResource(String name)
name - the name of the JResource to get.
public Enumeration<org.ow2.jonas.security.realm.factory.JResource> getResources()
public String toXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||