Inherited by org.objectweb.jonas.security.realm.principals.LDAPUser.
Inheritance diagram for org.objectweb.jonas.security.realm.principals.User:
Public Member Functions | |
User () | |
User (String name, String password) | |
void | setName (String name) |
String | getName () |
String | getPassword () |
void | setPassword (String password) |
HashPassword | getHashPassword () |
void | setGroups (String groups) |
String | getGroups () |
String[] | getArrayGroups () |
void | setRoles (String roles) |
void | addGroup (String group) |
void | addRole (String role) |
void | removeGroup (String group) |
void | removeRole (String role) |
String | getRoles () |
void | setCombinedRoles (ArrayList combinedRoles) |
ArrayList | getCombinedRoles () |
String[] | getArrayRoles () |
String | toXML () |
String | toString () |
Protected Member Functions | |
void | setHashPassword (HashPassword hashPassword) |
Static Protected Attributes | |
final String | SEPARATOR = "," |
Alexandre Thaveau (add DN for the certificates in method setName)
Marc-Antoine Bourgeot (add DN for the certificates in method setName)
Definition at line 47 of file User.java.
|
Constructor |
|
Constructor with a given login / password
Definition at line 95 of file User.java. References 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:
|
Add the specified group to this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 215 of file User.java. Referenced by org.objectweb.jonas.security.realm.principals.User.setGroups(). |
|
Add a role to this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 225 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceDS.findUser(), and org.objectweb.jonas.security.realm.principals.User.setRoles(). |
|
Get the groups
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 192 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.getArrayListCombinedRoles(). |
|
Get the roles
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 291 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.getArrayListCombinedRoles(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.getArrayListCombinedRoles(), and org.objectweb.jonas.security.realm.factory.JResourceDS.getArrayListCombinedRoles(). |
|
Get the combined roles of this user
|
|
Get the groups
|
|
Set the hashed password of this user
Definition at line 150 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.isValidUser(), org.objectweb.jonas.security.realm.factory.JResourceDS.isValidUser(), and org.objectweb.jonas.security.realm.factory.JResourceLDAP.isValidUserCompare(). |
|
Get the name of this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 117 of file User.java. Referenced by org.objectweb.jonas.security.realm.web.jetty50.Standard.authenticate(), org.objectweb.jonas.security.realm.web.catalina50.Standard.authenticate(), org.objectweb.jonas.security.realm.web.catalina50.JACC.authenticate(), and org.objectweb.jonas.security.realm.factory.JResourceMemory.removeMBeans(). |
|
Get the password of this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 125 of file User.java. Referenced by org.objectweb.jonas.security.realm.web.catalina50.Standard.authenticate(), org.objectweb.jonas.security.realm.web.catalina50.JACC.authenticate(), org.objectweb.jonas.security.realm.factory.JResourceMemory.isValidUser(), org.objectweb.jonas.security.realm.factory.JResourceDS.isValidUser(), org.objectweb.jonas.security.realm.factory.JResourceLDAP.isValidUserCompare(), and org.objectweb.jonas.security.auth.spi.JResourceLoginModule.login(). |
|
Get the roles
|
|
Remove a group from this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. |
|
Remove a role from this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. |
|
Set the combined roles of this user
Definition at line 275 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.getArrayListCombinedRoles(), and org.objectweb.jonas.security.realm.factory.JResourceDS.getArrayListCombinedRoles(). |
|
Set the groups of the user
Definition at line 158 of file User.java. References org.objectweb.jonas.security.realm.principals.User.addGroup(), and org.objectweb.jonas.security.realm.principals.User.SEPARATOR. |
Here is the call graph for this function:
|
Set the hashed password of this user
Definition at line 142 of file User.java. Referenced by org.objectweb.jonas.security.realm.principals.User.setPassword(). |
|
Set the name of this user
Definition at line 104 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.findUser(), org.objectweb.jonas.security.realm.factory.JResourceDS.findUser(), and org.objectweb.jonas.security.realm.principals.User.User(). |
|
Set the password of this user
Implements org.objectweb.jonas.security.realm.principals.UserMBean. Definition at line 133 of file User.java. References org.objectweb.jonas.security.realm.principals.User.setHashPassword(). Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.findUser(), org.objectweb.jonas.security.realm.factory.JResourceDS.findUser(), and org.objectweb.jonas.security.realm.principals.User.User(). |
Here is the call graph for this function:
|
Set the roles of the user
Definition at line 200 of file User.java. References org.objectweb.jonas.security.realm.principals.User.addRole(), and org.objectweb.jonas.security.realm.principals.User.SEPARATOR. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.findUser(). |
Here is the call graph for this function:
|
Use the XML representation of this object
Definition at line 317 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.toXML(), and org.objectweb.jonas.security.realm.factory.JResourceDS.toXML(). |
|
String representation of the user
Definition at line 299 of file User.java. Referenced by org.objectweb.jonas.security.realm.factory.JResourceLDAP.toString(), and org.objectweb.jonas.security.realm.factory.JResourceDS.toString(). |
|
Separator of the groups/roles Definition at line 52 of file User.java. Referenced by org.objectweb.jonas.security.realm.principals.User.setGroups(), and org.objectweb.jonas.security.realm.principals.User.setRoles(). |