Package org.apache.catalina.users
Class MemoryRole
java.lang.Object
org.apache.catalina.users.AbstractRole
org.apache.catalina.users.MemoryRole
Concrete implementation of Role for the
MemoryUserDatabase implementation of UserDatabase.
- Since:
- 4.1
- Author:
- Craig R. McClanahan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MemoryUserDatabaseTheMemoryUserDatabasethat owns this role.Fields inherited from class org.apache.catalina.users.AbstractRole
description, rolename -
Method Summary
Modifier and TypeMethodDescriptionReturn theUserDatabasewithin which this role is defined.toString()Return a String representation of this role in XML format.Methods inherited from class org.apache.catalina.users.AbstractRole
getDescription, getName, getRolename, setDescription, setRolename
-
Field Details
-
database
TheMemoryUserDatabasethat owns this role.
-
-
Method Details
-
getUserDatabase
Return theUserDatabasewithin which this role is defined.- Specified by:
getUserDatabasein interfaceRole- Specified by:
getUserDatabasein classAbstractRole- Returns:
- the
UserDatabasewithin which this Role is defined.
-
toString
Return a String representation of this role in XML format.
-