| org.apache.lenya.ac.User
All known Subclasses: org.apache.lenya.transaction.MockUser, org.apache.lenya.ac.impl.AbstractUser,
authenticate | boolean authenticate(String password)(Code) | | Authenticate a user. This is done by encrypting
the given password and comparing this to the
encryptedPassword.
Parameters: password - to authenticate with true if the given password matches the password for this user |
canChangePassword | abstract public boolean canChangePassword()(Code) | | Checks support for changing password
true if password change is supported |
getAccreditableManager | AccreditableManager getAccreditableManager()(Code) | | The accreditable manager this accreditable belongs to. |
getDefaultDocumentLocale | String getDefaultDocumentLocale()(Code) | | Returns the user's default locale of documents
to be created or edited.
The locale can either be a 2 letter country code
(de, en) or a locale code according to RFC 1766 /
ISO 639 / ISO 3166 (de_DE, de_CH, de_AT, en_US, ...)
The locale. |
getDefaultMenuLocale | String getDefaultMenuLocale()(Code) | | Returns the user's preferred locale for the Lenya
CMS menus and CMS screens.
The locale can either be a 2 letter country code
(de, en) or a locale code according to RFC 1766 /
ISO 639 / ISO 3166 (de_DE, de_CH, de_AT, en_US, ...)
The locale. |
getEmail | String getEmail()(Code) | | Get the email address
a String |
setDefaultDocumentLocale | void setDefaultDocumentLocale(String documentLocale)(Code) | | Sets the user's default locale of documents
to be created or edited.
The locale can either be a 2 letter country code
(de, en) or a locale code according to RFC 1766 /
ISO 639 / ISO 3166 (de_DE, de_CH, de_AT, en_US, ...)
Parameters: documentLocale - The locale. |
setDefaultMenuLocale | void setDefaultMenuLocale(String menuLocale)(Code) | | Sets the user's preferred locale for the Lenya
menu and CMS screens.
The locale can either be a 2 letter country code
(de, en) or a locale code according to RFC 1766 /
ISO 639 / ISO 3166 (de_DE, de_CH, de_AT, en_US, ...)
Parameters: menuLocale - The locale. |
setEmail | void setEmail(String email)(Code) | | Set the email address
Parameters: email - the new email address |
setPassword | void setPassword(String plainTextPassword)(Code) | | Sets the password.
Parameters: plainTextPassword - The plain text password. |
|
|