Class XMLUserDatabase

  • All Implemented Interfaces:
    UserDatabase

    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:

    <users>
      <user loginName="janne" fullName="Janne Jalkanen"
        wikiName="JanneJalkanen" email="janne@ecyrd.com"
        password="{SHA}457b08e825da547c3b77fbc1ff906a1d00a7daee"/>
    </users>

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

    Since:
    2.3