Inheritance diagram for org.objectweb.jonas.security.realm.factory.JResourceMemory:
Public Member Functions | |
JResourceMemory () throws Exception | |
void | addUser (User user) throws Exception |
void | addGroup (Group group) throws Exception |
void | addRole (Role role) throws Exception |
User | findUser (String name) throws JResourceException |
boolean | isValidUser (User user, String credentials) |
Hashtable | getGroups () |
Hashtable | getRoles () |
ArrayList | getArrayListCombinedRoles (User user) throws JResourceException |
void | setGroups (Hashtable groups) |
void | setRoles (Hashtable roles) |
void | addUser (String username, String password) throws Exception |
void | addGroup (String groupname) throws Exception |
void | addRole (String rolename) throws Exception |
void | removeUser (String username) throws Exception |
void | removeGroup (String groupname) throws Exception |
void | removeRole (String rolename) throws Exception |
String | toXML () |
String | toString () |
Reference | getReference () throws NamingException |
String[] | listRoles () |
String[] | listGroups () |
void | removeMBeans () throws JResourceException |
Definition at line 52 of file JResourceMemory.java.
|
Constructor . Use the super constructor
Definition at line 78 of file JResourceMemory.java. |
|
Add a group with a given name
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 319 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResourceMemory.addGroup(). |
Here is the call graph for this function:
|
Add a group to this resource.
Definition at line 131 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResourceMemory.addRole(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), and org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(). Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.addGroup(), and org.objectweb.jonas.security.realm.factory.JResourceMemory.addUser(). |
Here is the call graph for this function:
|
Add a role with a given name
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 328 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResourceMemory.addRole(). |
Here is the call graph for this function:
|
Add a role to this resource.
Definition at line 165 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), and org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(). Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.addGroup(), org.objectweb.jonas.security.realm.factory.JResourceMemory.addRole(), and org.objectweb.jonas.security.realm.factory.JResourceMemory.addUser(). |
Here is the call graph for this function:
|
Add a user with a given principal and credential
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 310 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResourceMemory.addUser(). |
Here is the call graph for this function:
|
Add a user to this resource.
Definition at line 87 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResourceMemory.addGroup(), org.objectweb.jonas.security.realm.factory.JResourceMemory.addRole(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(), and org.objectweb.jonas.security.realm.factory.JResource.getUsers(). Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.addUser(). |
Here is the call graph for this function:
|
Check if a user is found and return it
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 190 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getUsers(). |
Here is the call graph for this function:
|
Get all the roles (from the roles and from the groups) of the given user
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 248 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.principals.User.getArrayGroups(), org.objectweb.jonas.security.realm.principals.Group.getArrayRoles(), and org.objectweb.jonas.security.realm.principals.User.getArrayRoles(). |
Here is the call graph for this function:
|
Return all the groups
Definition at line 230 of file JResourceMemory.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.toXML(). |
|
Retrieves the Reference of the object. The Reference contains the factory used to create this object and the optional parameters used to configure the factory.
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 437 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.factory.JResource.getName(), and org.objectweb.jonas.security.realm.factory.JResource.getUsers(). |
Here is the call graph for this function:
|
Return all the roles
Definition at line 238 of file JResourceMemory.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.toXML(). |
|
Check if the given credential is the right credential for the given user
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 203 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.principals.User.getHashPassword(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.principals.User.getPassword(), and org.objectweb.jonas.security.realm.principals.User.hashPassword. |
Here is the call graph for this function:
|
Get the groups
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 484 of file JResourceMemory.java. |
|
Get the roles
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 471 of file JResourceMemory.java. |
|
Remove a group with a given name
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 358 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), and org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(). |
Here is the call graph for this function:
|
Remove all the Mbeans used by this resource
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 497 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(), org.objectweb.jonas.security.realm.principals.Group.getName(), org.objectweb.jonas.security.realm.principals.Role.getName(), org.objectweb.jonas.security.realm.principals.User.getName(), and org.objectweb.jonas.security.realm.factory.JResource.getUsers(). |
Here is the call graph for this function:
|
Remove a role with a given name
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 378 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), and org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(). |
Here is the call graph for this function:
|
Remove a user with a given principal
Implements org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean. Definition at line 337 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.factory.JResource.getMBeanServer(), and org.objectweb.jonas.security.realm.factory.JResource.getUsers(). |
Here is the call graph for this function:
|
Set the groups
Definition at line 292 of file JResourceMemory.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.getObjectInstance(). |
|
Set the roles
Definition at line 300 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.principals.Group.roles. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.getObjectInstance(). |
|
The string representation of this realm is the XML
Definition at line 425 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.principals.Group.toXML(). |
Here is the call graph for this function:
|
String representation of the MemoryRealm
Definition at line 397 of file JResourceMemory.java. References org.objectweb.jonas.security.realm.factory.JResourceMemory.getGroups(), org.objectweb.jonas.security.realm.factory.JResource.getName(), org.objectweb.jonas.security.realm.factory.JResourceMemory.getRoles(), org.objectweb.jonas.security.realm.factory.JResource.getUsers(), and org.objectweb.jonas.security.realm.principals.Group.toString(). Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceMemory(). |
Here is the call graph for this function: