Package org.apache.catalina.users
Class MemoryRole
java.lang.Object
org.apache.catalina.users.AbstractRole
org.apache.catalina.users.MemoryRole
Deprecated.
Concrete implementation of Role for the
MemoryUserDatabase implementation of UserDatabase.
- Since:
- 4.1
- Author:
- Craig R. McClanahan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MemoryUserDatabaseDeprecated.TheMemoryUserDatabasethat owns this role.Fields inherited from class org.apache.catalina.users.AbstractRole
description, rolename -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return theUserDatabasewithin which this role is defined.toString()Deprecated.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
Deprecated.TheMemoryUserDatabasethat owns this role.
-
-
Method Details
-
getUserDatabase
Deprecated.Return theUserDatabasewithin which this role is defined.- Specified by:
getUserDatabasein interfaceRole- Specified by:
getUserDatabasein classAbstractRole- Returns:
- the
UserDatabasewithin which this Role is defined.
-
toString
Deprecated.Return a String representation of this role in XML format.
-
AbstractRoleinstead.