org.apache.catalina
public interface Role extends Principal
Abstract representation of a security role, suitable for use in
environments like JAAS that want to deal with Principals
.
Since: 4.1
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
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.
|
Parameters: description The new description
Parameters: rolename The new role name