public class MemoryUser extends GenericUser<MemoryUserDatabase>
Concrete implementation of User
for the
MemoryUserDatabase
implementation of UserDatabase
.
database, groups, roles
fullName, password, username
Modifier and Type | Method and Description |
---|---|
String |
toString()
Return a String representation of this user.
|
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, setUsername
getFullName, getName, getPassword, getUsername
public 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.
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.