| 
 | Apache Tomcat 6.0.53 | ||||||||
| 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 | |
|---|---|
|  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 UserDatabasewithin 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 | 
|---|
java.lang.String getDescription()
void setDescription(java.lang.String description)
description - The new descriptionjava.lang.String getRolename()
UserDatabase.
void setRolename(java.lang.String rolename)
UserDatabase.
rolename - The new role nameUserDatabase getUserDatabase()
UserDatabase within which this Role is defined.
| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||