Class XMLUserDatabase

  • All Implemented Interfaces:

    public class XMLUserDatabase
    extends AbstractUserDatabase

    Manages DefaultUserProfile objects using XML files for persistence. Passwords are hashed using SHA1. User entries are simple <user> elements under the root. User profile properties are attributes of the element. For example:

      <user loginName="janne" fullName="Janne Jalkanen"
        wikiName="JanneJalkanen" email=""

    In this example, the un-hashed password is myP@5sw0rd. Passwords are hashed without salt.