|
Apache Tomcat 6.0.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.users.AbstractRole
public abstract class AbstractRole
Convenience base class for Role implementations.
| Field Summary | |
|---|---|
protected java.lang.String |
description
The description of this Role. |
protected java.lang.String |
rolename
The role name of this Role. |
| Constructor Summary | |
|---|---|
AbstractRole()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Return the description of this role. |
java.lang.String |
getName()
Make the principal name the same as the role name. |
java.lang.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(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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, hashCode, toString |
| Field Detail |
|---|
protected java.lang.String description
protected java.lang.String rolename
| Constructor Detail |
|---|
public AbstractRole()
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in interface Rolepublic void setDescription(java.lang.String description)
setDescription in interface Roledescription - The new descriptionpublic java.lang.String getRolename()
UserDatabase.
getRolename in interface Rolepublic void setRolename(java.lang.String rolename)
UserDatabase.
setRolename in interface Rolerolename - The new role namepublic abstract UserDatabase getUserDatabase()
UserDatabase within which this Role is defined.
getUserDatabase in interface Rolepublic java.lang.String getName()
getName in interface java.security.Principal
|
Apache Tomcat 6.0.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||