org.apache.catalina.users
public abstract class AbstractRole extends Object implements Role
Convenience base class for Role implementations.
Since: 4.1
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Field Summary | |
---|---|
protected String | description
The description of this Role. |
protected String | rolename
The role name of this Role. |
Method Summary | |
---|---|
String | getDescription()
Return the description of this role. |
String | getName()
Make the principal name the same as the role name. |
String | getRolename()
Return the role name of this role, which must be unique
within the scope of a UserDatabase. |
abstract 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