|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Role
Abstract representation of a security role, suitable for use in
environments like JAAS that want to deal with Principals
.
Method Summary | |
---|---|
String |
getDescription()
Return the description of this role. |
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(String description)
Set the description of this role. |
void |
setRolename(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 |
---|
String getDescription()
void setDescription(String description)
description
- The new descriptionString getRolename()
UserDatabase
.
void setRolename(String rolename)
UserDatabase
.
rolename
- The new role nameUserDatabase getUserDatabase()
UserDatabase
within which this Role is defined.
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |