|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jaulp.auth.SimpleUser
public class SimpleUser
The Class SimpleUser.
| Constructor Summary | |
|---|---|
SimpleUser()
|
|
| Method Summary | |
|---|---|
void |
addRole(Role role)
Adds the given role to the user. |
java.lang.String |
getId()
Returns the field id. |
java.lang.String |
getPassword()
Returns the field password. |
java.util.Set<Role> |
getRoles()
Returns the field roles. |
java.lang.String |
getUsername()
Returns the field username. |
boolean |
isLock()
Returns the field lock. |
boolean |
removeRole(Role role)
Removes the given role from the user. |
void |
setId(java.lang.String id)
Sets the field id. |
void |
setLock(boolean lock)
Sets the field lock. |
void |
setPassword(java.lang.String password)
Sets the field password. |
void |
setRoles(java.util.Set<Role> roles)
Sets the field roles. |
void |
setUsername(java.lang.String username)
Sets the field username. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleUser()
| Method Detail |
|---|
public void addRole(Role role)
addRole in interface Userrole - the roleUser.addRole(net.sourceforge.jaulp.auth.interfaces.Role)public java.lang.String getId()
id.
getId in interface Userid.User.getId()public java.util.Set<Role> getRoles()
roles.
getRoles in interface Userroles.User.getRoles()public java.lang.String getUsername()
username.
getUsername in interface Userusername.User.getUsername()public boolean isLock()
lock.
isLock in interface Userlock.User.isLock()public boolean removeRole(Role role)
removeRole in interface Userrole - the roleUser.removeRole(net.sourceforge.jaulp.auth.interfaces.Role)public void setId(java.lang.String id)
id.
setId in interface Userid - The id to setUser.setId(java.lang.String)public void setLock(boolean lock)
lock.
setLock in interface Userlock - The lock to setUser.setLock(boolean)public void setRoles(java.util.Set<Role> roles)
roles.
setRoles in interface Userroles - The roles to setUser.setRoles(java.util.Set)public void setUsername(java.lang.String username)
username.
setUsername in interface Userusername - The username to setUser.setUsername(java.lang.String)public java.lang.String getPassword()
password.
getPassword in interface Userpassword.User.getPassword()public void setPassword(java.lang.String password)
password.
setPassword in interface Userpassword - The password to setUser.setPassword(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||