Inheritance diagram for org.objectweb.jonas.security.realm.factory.JResourceDS:
Public Member Functions | |
JResourceDS () throws Exception | |
void | setDsName (String dsName) |
void | setUserTable (String userTable) |
void | setUserTableUsernameCol (String userTableUsernameCol) |
void | setUserTablePasswordCol (String userTablePasswordCol) |
void | setRoleTable (String roleTable) |
void | setRoleTableUsernameCol (String roleTableUsernameCol) |
void | setRoleTableRolenameCol (String roleTableRolenameCol) |
void | setAlgorithm (String algorithm) |
void | setUserPrincipalsQuery (String userPrincipalsQuery) |
void | setUserRolesQuery (String userRolesQuery) |
String | getDsName () |
String | getUserTable () |
String | getUserTableUsernameCol () |
String | getUserTablePasswordCol () |
String | getRoleTable () |
String | getRoleTableUsernameCol () |
String | getRoleTableRolenameCol () |
String | getAlgorithm () |
String | setUserPrincipalsQuery () |
String | setUserRolesQuery () |
User | findUser (String username) throws JResourceException |
boolean | isValidUser (User user, String credentials) |
ArrayList | getArrayListCombinedRoles (User user) throws JResourceException |
String | toXML () |
String | toString () |
Reference | getReference () throws NamingException |
void | removeMBeans () throws JResourceException |
Definition at line 54 of file JResourceDS.java.
|
Constructor. Use the super constructor
Definition at line 125 of file JResourceDS.java. |
|
Check if a user is found and return it
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 301 of file JResourceDS.java. References org.objectweb.jonas.security.realm.principals.User.addRole(), org.objectweb.jonas.security.realm.factory.JResource.getLogger(), org.objectweb.jonas.security.realm.principals.User.setName(), and org.objectweb.jonas.security.realm.principals.User.setPassword(). |
Here is the call graph for this function:
|
Get the default algorithm
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 275 of file JResourceDS.java. |
|
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 420 of file JResourceDS.java. References org.objectweb.jonas.security.realm.principals.User.getArrayRoles(), and org.objectweb.jonas.security.realm.principals.User.setCombinedRoles(). |
Here is the call graph for this function:
|
Get the name of the resource to use
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 219 of file JResourceDS.java. |
|
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 513 of file JResourceDS.java. References org.objectweb.jonas.security.realm.factory.JResource.getName(). |
Here is the call graph for this function:
|
Get the name of table which have the username/role
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 251 of file JResourceDS.java. |
|
Get the name of the column of the role of the role table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 267 of file JResourceDS.java. |
|
Get the name of the column of the username of the role table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 259 of file JResourceDS.java. |
|
Get the name of the table which have the username/password
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 227 of file JResourceDS.java. |
|
Get the name of column of the password of the user table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 243 of file JResourceDS.java. |
|
Get the name of the column of the username of the user table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 235 of file JResourceDS.java. |
|
Check if the given credential is the right credential for the given user
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 377 of file JResourceDS.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:
|
Remove all the Mbeans used by this resource
Implements org.objectweb.jonas.security.realm.factory.JResource. Definition at line 735 of file JResourceDS.java. |
|
Set the default algorithm to use
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 194 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of the resource to use
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 134 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of table which have the username/role
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 168 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of the column of the role of the role table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 186 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of the column of the username of the role table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 177 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Gets the user defined query for retrieving principals
Definition at line 283 of file JResourceDS.java. |
|
Set the user defined query for retrieving principals
Definition at line 203 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Gets the user defined query for retrieving roles
Definition at line 291 of file JResourceDS.java. |
|
Set the user defined query for retrieving roles
Definition at line 211 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of the table which have the username/password
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 142 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of column of the password of the user table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 160 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
Set the name of the column of the username of the user table
Implements org.objectweb.jonas.security.realm.factory.JResourceDSMBean. Definition at line 151 of file JResourceDS.java. Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(), and org.objectweb.jonas.security.realm.factory.JResourceDSFactory.getObjectInstance(). |
|
The string representation of this realm is the XML
Definition at line 501 of file JResourceDS.java. References org.objectweb.jonas.security.realm.principals.User.toXML(). |
Here is the call graph for this function:
|
String representation of the MemoryRealm
Definition at line 446 of file JResourceDS.java. References org.objectweb.jonas.security.realm.factory.JResource.getName(), and org.objectweb.jonas.security.realm.principals.User.toString(). Referenced by org.objectweb.jonas.security.JonasSecurityServiceImpl.addJResourceDS(). |
Here is the call graph for this function: