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()
Return a String representation of this user.
|
java.lang.String |
toXml()
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-2023 Apache Software Foundation. All Rights Reserved.