|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.fridaymvc.security.accesscontroller.AbstractUser
| Field Summary | |
protected java.util.Set |
roles
|
| Constructor Summary | |
AbstractUser()
|
|
| Method Summary | |
boolean |
addRole(Role role)
|
java.util.Set |
getRoles()
|
boolean |
removeRole(Role role)
|
void |
setRoles(java.util.Set roles)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Set roles
| Constructor Detail |
public AbstractUser()
| Method Detail |
public java.util.Set getRoles()
getRoles in interface Userpublic void setRoles(java.util.Set roles)
setRoles in interface Userroles - The roles to set.public boolean addRole(Role role)
addRole in interface Userpublic boolean removeRole(Role role)
removeRole in interface User
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||