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
Modifier and TypeFieldDescriptionprotected final MemoryUserDatabase
Deprecated.TheMemoryUserDatabase
that owns this role.Fields inherited from class org.apache.catalina.users.AbstractRole
description, rolename
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return theUserDatabase
within 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.TheMemoryUserDatabase
that owns this role.
-
-
Method Details
-
getUserDatabase
Deprecated.Return theUserDatabase
within which this role is defined.- Specified by:
getUserDatabase
in interfaceRole
- Specified by:
getUserDatabase
in classAbstractRole
- Returns:
- the
UserDatabase
within which this Role is defined.
-
toString
Deprecated.Return a String representation of this role in XML format.
-
AbstractRole
instead.