|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JUser
This interface represents a user in a security realm.
Method Summary | |
---|---|
void |
addGroup(String group)
Add the specified group to this user |
void |
addRole(String role)
Add a role to this user |
String[] |
getArrayGroups()
Get the groups |
String[] |
getArrayRoles()
Get the roles |
ArrayList |
getCombinedRoles()
Get the combined roles of this user |
String |
getGroups()
Get the groups |
HashPassword |
getHashPassword()
Set the hashed password of this user |
String |
getName()
Get the name of this user |
String |
getPassword()
Get the password of this user |
String |
getRoles()
Get the roles |
void |
removeGroup(String group)
Remove a group from this user |
void |
removeRole(String role)
Remove a role from this user |
void |
setCombinedRoles(ArrayList combinedRoles)
Set the combined roles of this user |
void |
setGroups(String groups)
Set the groups of the user |
void |
setName(String name)
Set the name of this user |
void |
setPassword(String password)
Set the password of this user |
void |
setRoles(String roles)
Set the roles of the user |
String |
toXML()
String representation of the user |
Method Detail |
---|
void setName(String name)
name
- Name of the userString getName()
String getPassword()
void setPassword(String password)
password
- password of the userHashPassword getHashPassword()
void setGroups(String groups)
groups
- the comma separated list of the groups of the userString getGroups()
String[] getArrayGroups()
void setRoles(String roles)
roles
- the comma separated list of the roles of the uservoid addGroup(String group)
group
- the group to addvoid addRole(String role)
role
- the given rolevoid removeGroup(String group)
group
- the given groupvoid removeRole(String role)
role
- the given roleString getRoles()
void setCombinedRoles(ArrayList combinedRoles)
combinedRoles
- combined of the userArrayList getCombinedRoles()
String[] getArrayRoles()
String toXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |