Class MemoryUser
Deprecated.
Concrete implementation of User
for the MemoryUserDatabase
implementation of
UserDatabase
.
- Since:
- 4.1
- Author:
- Craig R. McClanahan
-
Field Summary
Fields inherited from class org.apache.catalina.users.GenericUser
database, groups, roles
Fields inherited from class org.apache.catalina.users.AbstractUser
fullName, password, username
-
Method Summary
Methods inherited from class org.apache.catalina.users.GenericUser
addGroup, addRole, equals, getGroups, getRoles, getUserDatabase, hashCode, isInGroup, isInRole, removeGroup, removeGroups, removeRole, removeRoles, setFullName, setPassword, setUsername
Methods inherited from class org.apache.catalina.users.AbstractUser
getFullName, getName, getPassword, getUsername
-
Method Details
-
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
username
orname
for the username property.- Returns:
- the XML representation
-
toString
-
GenericUser
instead.