|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstract representation of a security role, suitable for use in
environments like JAAS that want to deal with Principals
.
Method Summary | |
java.lang.String |
getDescription()
Return the description of this role. |
java.lang.String |
getRolename()
Return the role name of this role, which must be unique within the scope of a UserDatabase . |
UserDatabase |
getUserDatabase()
Return the UserDatabase within which this Role is defined. |
void |
setDescription(java.lang.String description)
Set the description of this role. |
void |
setRolename(java.lang.String rolename)
Set the role name of this role, which must be unique within the scope of a UserDatabase . |
Methods inherited from interface java.security.Principal |
equals, getName, hashCode, toString |
Method Detail |
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The new descriptionpublic java.lang.String getRolename()
UserDatabase
.
public void setRolename(java.lang.String rolename)
UserDatabase
.
rolename
- The new role namepublic UserDatabase getUserDatabase()
UserDatabase
within which this Role is defined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |