Package org.apache.catalina.users
Class MemoryUser
Deprecated.
Concrete implementation of User for the
 MemoryUserDatabase implementation of UserDatabase.
- Since:
- 4.1
- Author:
- Craig R. McClanahan
- 
Field SummaryFields inherited from class org.apache.catalina.users.GenericUserdatabase, groups, rolesFields inherited from class org.apache.catalina.users.AbstractUserfullName, password, username
- 
Method SummaryMethods inherited from class org.apache.catalina.users.GenericUseraddGroup, addRole, equals, getGroups, getRoles, getUserDatabase, hashCode, isInGroup, isInRole, removeGroup, removeGroups, removeRole, removeRoles, setFullName, setPassword, setUsernameMethods inherited from class org.apache.catalina.users.AbstractUsergetFullName, getName, getPassword, getUsername
- 
Method Details- 
toXmlDeprecated.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
 
- 
toStringDeprecated.Return a String representation of this user. 
 
- 
GenericUserinstead.