| java.lang.Object org.apache.catalina.users.AbstractRole
All known Subclasses: org.apache.catalina.users.MemoryRole,
AbstractRole | abstract public class AbstractRole implements Role(Code) | | Convenience base class for
Role implementations.
author: Craig R. McClanahan version: $Revision: 1.3 $ $Date: 2004/02/27 14:58:50 $ since: 4.1 |
description | protected String description(Code) | | The description of this Role.
|
rolename | protected String rolename(Code) | | The role name of this Role.
|
getDescription | public String getDescription()(Code) | | Return the description of this role.
|
getName | public String getName()(Code) | | Make the principal name the same as the role name.
|
getRolename | public String getRolename()(Code) | | Return the role name of this role, which must be unique
within the scope of a
UserDatabase .
|
setDescription | public void setDescription(String description)(Code) | | Set the description of this role.
Parameters: description - The new description |
setRolename | public void setRolename(String rolename)(Code) | | Set the role name of this role, which must be unique
within the scope of a
UserDatabase .
Parameters: rolename - The new role name |
|
|