Inherited by org.objectweb.jonas.security.realm.factory.JResourceDS, org.objectweb.jonas.security.realm.factory.JResourceLDAP, and org.objectweb.jonas.security.realm.factory.JResourceMemory.
Inheritance diagram for org.objectweb.jonas.security.realm.factory.JResource:
Public Member Functions | |
JResource () throws Exception | |
void | setName (String name) |
String | getName () |
abstract Reference | getReference () throws NamingException |
abstract void | removeMBeans () throws JResourceException |
abstract User | findUser (String name) throws JResourceException |
abstract boolean | isValidUser (User user, String credentials) |
abstract ArrayList | getArrayListCombinedRoles (User user) throws JResourceException |
Hashtable | getUsers () |
void | saveConfig () |
void | setUsers (Hashtable users) |
void | clearCache () |
Static Public Member Functions | |
Logger | getLogger () |
void | setLogger (Logger logger) |
Protected Member Functions | |
MBeanServer | getMBeanServer () |
long | getSequenceNumber () |
Definition at line 57 of file JResource.java.
|
Constructor
Definition at line 93 of file JResource.java. References org.objectweb.jonas.service.ServiceManager.getJmxService(), and org.objectweb.jonas.service.ServiceManager.getSecurityService(). |
Here is the call graph for this function:
|
Clear the cache Definition at line 239 of file JResource.java. References org.objectweb.jonas.security.realm.factory.JResource.setUsers(). |
Here is the call graph for this function:
|
Check if a user is found and return it
Implemented in org.objectweb.jonas.security.realm.factory.JResourceDS, org.objectweb.jonas.security.realm.factory.JResourceLDAP, and org.objectweb.jonas.security.realm.factory.JResourceMemory. Referenced by org.objectweb.jonas.security.realm.web.catalina50.Standard.authenticate(), and org.objectweb.jonas.security.auth.spi.JResourceLoginModule.login(). |
|
Get all the roles (from the roles and from the groups) of the given user
Implemented in org.objectweb.jonas.security.realm.factory.JResourceDS, org.objectweb.jonas.security.realm.factory.JResourceLDAP, and org.objectweb.jonas.security.realm.factory.JResourceMemory. Referenced by org.objectweb.jonas.security.realm.web.catalina50.Standard.authenticate(), and org.objectweb.jonas.security.auth.spi.JResourceLoginModule.login(). |
|
|
|
|
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.
Implemented in org.objectweb.jonas.security.realm.factory.JResourceDS, org.objectweb.jonas.security.realm.factory.JResourceLDAP, and org.objectweb.jonas.security.realm.factory.JResourceMemory. |
|
Return a sequence number and increase this number
Definition at line 187 of file JResource.java. Referenced by org.objectweb.jonas.security.realm.factory.JResource.saveConfig(). |
|
|
Check if the given credential is the right credential for the given user
Implemented in org.objectweb.jonas.security.realm.factory.JResourceDS, org.objectweb.jonas.security.realm.factory.JResourceLDAP, and org.objectweb.jonas.security.realm.factory.JResourceMemory. Referenced by org.objectweb.jonas.security.realm.web.catalina50.Standard.authenticate(), and org.objectweb.jonas.security.auth.spi.JResourceLoginModule.login(). |
|
Remove all the Mbeans used by this resource
Implemented in org.objectweb.jonas.security.realm.factory.JResourceDS, org.objectweb.jonas.security.realm.factory.JResourceLDAP, and org.objectweb.jonas.security.realm.factory.JResourceMemory. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.removeJResource(). |
|
Update and save configuration Implements org.objectweb.jonas.security.realm.factory.JResourceMBean. Definition at line 194 of file JResource.java. References org.objectweb.jonas.security.realm.factory.JResource.getName(), org.objectweb.jonas.security.realm.factory.JResource.getSequenceNumber(), and org.objectweb.jonas.security.SecurityService.toXML(). |
Here is the call graph for this function:
|
Definition at line 226 of file JResource.java. |
|
Set the name of this resource
Definition at line 115 of file JResource.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceLDAP(), org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceMemory(), org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.getObjectInstance(), org.objectweb.jonas.security.realm.factory.JResourceLDAPFactory.getObjectInstance(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Definition at line 232 of file JResource.java. Referenced by org.objectweb.jonas.security.realm.factory.JResource.clearCache(), and org.objectweb.jonas.security.realm.factory.JResourceMemoryFactory.getObjectInstance(). |