org.apache.catalina.users
Class AbstractRole
java.lang.Object
org.apache.catalina.users.AbstractRole
- Principal, Role
public abstract class AbstractRole
extends java.lang.Object
Convenience base class for
Role
implementations.
Version:
- Craig R. McClanahan
- 4.1
protected String | description - The description of this Role.
|
protected String | rolename - The role name of this Role.
|
description
protected String description
The description of this Role.
rolename
protected String rolename
The role name of this Role.
getDescription
public String getDescription()
Return the description of this role.
- getDescription in interface Role
getName
public String getName()
Make the principal name the same as the role name.
getRolename
public String getRolename()
Return the role name of this role, which must be unique
within the scope of a
UserDatabase
.
- getRolename in interface Role
setDescription
public void setDescription(String description)
Set the description of this role.
- setDescription in interface Role
description
- The new description
setRolename
public void setRolename(String rolename)
Set the role name of this role, which must be unique
within the scope of a
UserDatabase
.
- setRolename in interface Role
rolename
- The new role name
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.