| |
|
| java.lang.Object com.ecyrd.jspwiki.auth.user.AbstractUserDatabase com.ecyrd.jspwiki.auth.user.XMLUserDatabase
XMLUserDatabase | public class XMLUserDatabase extends AbstractUserDatabase (Code) | | 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.
author: Andrew Jaquith since: 2.3 |
Field Summary | |
final public static String | PROP_USERDATABASE The jspwiki.properties property specifying the file system location of
the user database. |
PROP_USERDATABASE | final public static String PROP_USERDATABASE(Code) | | The jspwiki.properties property specifying the file system location of
the user database.
|
getWikiNames | public Principal[] getWikiNames() throws WikiSecurityException(Code) | | Returns all WikiNames that are stored in the UserDatabase
as an array of WikiPrincipal objects. If the database does not
contain any profiles, this method will return a zero-length
array.
the WikiNames |
|
|
|