Class MemoryUser

All Implemented Interfaces:
Principal, User

public class MemoryUser extends GenericUser<MemoryUserDatabase>

Concrete implementation of User for the MemoryUserDatabase implementation of UserDatabase.

Since:
4.1
Author:
Craig R. McClanahan
  • Method Details

    • toXml

      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.

      Returns:
      the XML representation
    • toString

      public String toString()

      Return a String representation of this user.

      Specified by:
      toString in interface Principal
      Overrides:
      toString in class Object