Package org.apache.catalina.users
Class MemoryUser
- java.lang.Object
- 
- org.apache.catalina.users.AbstractUser
- 
- org.apache.catalina.users.GenericUser<MemoryUserDatabase>
- 
- org.apache.catalina.users.MemoryUser
 
 
 
- 
- All Implemented Interfaces:
- java.security.Principal,- User
 
 @Deprecated public class MemoryUser extends GenericUser<MemoryUserDatabase> Deprecated.UseGenericUserinstead.Concrete implementation of Userfor theMemoryUserDatabaseimplementation ofUserDatabase.- Since:
- 4.1
- Author:
- Craig R. McClanahan
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.catalina.users.GenericUserdatabase, groups, roles
 - 
Fields inherited from class org.apache.catalina.users.AbstractUserfullName, password, username
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringtoString()Deprecated.Return a String representation of this user.java.lang.StringtoXml()Deprecated.Return a String representation of this user in XML format.- 
Methods inherited from class org.apache.catalina.users.GenericUseraddGroup, addRole, equals, getGroups, getRoles, getUserDatabase, hashCode, isInGroup, isInRole, removeGroup, removeGroups, removeRole, removeRoles, setFullName, setPassword, setUsername
 - 
Methods inherited from class org.apache.catalina.users.AbstractUsergetFullName, getName, getPassword, getUsername
 
- 
 
- 
- 
- 
Method Detail- 
toXmlpublic java.lang.String toXml() Deprecated.Return a String representation of this user in XML format. IMPLEMENTATION NOTE - For backwards compatibility, the reader that processes this entry will accept either usernameornamefor the username property.- Returns:
- the XML representation
 
 - 
toStringpublic java.lang.String toString() Deprecated.Return a String representation of this user. - Specified by:
- toStringin interface- java.security.Principal
- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-