GenericUser instead.@Deprecated public class MemoryUser extends GenericUser<MemoryUserDatabase>
Concrete implementation of User for the
MemoryUserDatabase implementation of UserDatabase.
database, groups, rolesfullName, password, username| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Deprecated.
Return a String representation of this user.
|
java.lang.String |
toXml()
Deprecated.
Return a String representation of this user in XML format.
|
addGroup, addRole, equals, getGroups, getRoles, getUserDatabase, hashCode, isInGroup, isInRole, removeGroup, removeGroups, removeRole, removeRoles, setFullName, setPassword, setUsernamegetFullName, getName, getPassword, getUsernamepublic java.lang.String toXml()
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 or name for the username
property.
public java.lang.String toString()
Return a String representation of this user.
toString in interface java.security.PrincipaltoString in class java.lang.ObjectCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.