|
||||||||||
| 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(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(String name)
|
Enumeration<JResource> |
getResources()
|
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(SecurityService s)
s - the parent SecurityService| Method Detail |
|---|
public void addJResource(JResource jResource)
throws Exception
jResource - an instance of JResource or subclasses (JResourceMemory, JResourceDS,...)
Exception - if the resource name already exists
public JResource remove(String resourceName)
throws Exception
resourceName - JResource name to be removed
Exception - when JResource is not found with given name.public JResource getJResource(String name)
name - the name of the JResource to get.
public Enumeration<JResource> getResources()
public String toXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||