Default implementation for representing wiki user information, such as the
login name, full name, wiki name, and e-mail address.
author: Janne Jalkanen author: Andrew Jaquith since: 2.3
Returns the user password for use with custom authentication. Note that
the password field is not meaningful for container authentication; the
user's private credentials are generally stored elsewhere. While it
depends on the
UserDatabase implementation, in most cases the
value returned by this method will be a password hash, not the password
itself.
the password
Sets the name by which the user logs in. The login name is used as the
username for custom authentication (see
com.ecyrd.jspwiki.auth.AuthenticationManager.login(WikiSessionStringString) ).
The login name is typically a short name ("jannej"). In contrast, the
wiki name is typically of type FirstnameLastName ("JanneJalkanen").
Parameters: name - the login name
Sets the user's password for use with custom authentication. It is
not the responsibility of implementing classes to hash the
password; that responsibility is borne by the UserDatabase implementation
during save operations (see
UserDatabase.save(UserProfile) ).
Note that the password field is not meaningful for container
authentication; the user's private credentials are generally stored
elsewhere.
Parameters: arg - the password
No-op method. In previous versions of JSPWiki, the method
set the user's wiki name directly. Now, the wiki name is automatically
calculated based on the full name.
Parameters: name - the wiki name