Package org.apache.catalina.users
Class MemoryRole
- java.lang.Object
- 
- org.apache.catalina.users.AbstractRole
- 
- org.apache.catalina.users.MemoryRole
 
 
- 
- All Implemented Interfaces:
- java.security.Principal,- Role
 
 @Deprecated public class MemoryRole extends AbstractRole Deprecated.UseAbstractRoleinstead.Concrete implementation of Rolefor theMemoryUserDatabaseimplementation ofUserDatabase.- Since:
- 4.1
- Author:
- Craig R. McClanahan
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected MemoryUserDatabasedatabaseDeprecated.TheMemoryUserDatabasethat owns this role.- 
Fields inherited from class org.apache.catalina.users.AbstractRoledescription, rolename
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UserDatabasegetUserDatabase()Deprecated.Return theUserDatabasewithin which this role is defined.java.lang.StringtoString()Deprecated.Return a String representation of this role in XML format.- 
Methods inherited from class org.apache.catalina.users.AbstractRolegetDescription, getName, getRolename, setDescription, setRolename
 
- 
 
- 
- 
- 
Field Detail- 
databaseprotected final MemoryUserDatabase database Deprecated.TheMemoryUserDatabasethat owns this role.
 
- 
 - 
Method Detail- 
getUserDatabasepublic UserDatabase getUserDatabase() Deprecated.Return theUserDatabasewithin which this role is defined.- Specified by:
- getUserDatabasein interface- Role
- Specified by:
- getUserDatabasein class- AbstractRole
- Returns:
- the UserDatabasewithin which this Role is defined.
 
 - 
toStringpublic java.lang.String toString() Deprecated.Return a String representation of this role in XML format. - Specified by:
- toStringin interface- java.security.Principal
- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-