hirondelle.fish.access.password
Class ResetPasswordAction
Object
ActionImpl
ActionTemplateShowAndApply
hirondelle.fish.access.password.ResetPasswordAction
- All Implemented Interfaces:
- Action
public final class ResetPasswordAction
- extends ActionTemplateShowAndApply
Reset the user's password.
The password is reset to a conventional value.
See User.forNewUserOrPasswordReset(hirondelle.web4j.security.SafeText)
for more information.
View :
SQL Statements :
Method Summary |
protected void |
apply()
Apply the edit to the database. |
protected void |
show()
List all user names. |
protected void |
validateUserInput()
Create a new version of User with a reset password. |
Methods inherited from class ActionImpl |
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESET_PASSWORD
public static final SqlId RESET_PASSWORD
USER_NAME
public static final RequestParameter USER_NAME
ResetPasswordAction
public ResetPasswordAction(RequestParser aRequestParser)
- Constructor.
show
protected void show()
throws DAOException
- List all user names.
- Specified by:
show
in class ActionTemplateShowAndApply
- Throws:
DAOException
validateUserInput
protected void validateUserInput()
- Create a new version of
User
with a reset password. See User.forNewUserOrPasswordReset(SafeText)
.
- Specified by:
validateUserInput
in class ActionTemplateShowAndApply
apply
protected void apply()
throws DAOException
- Apply the edit to the database.
- Specified by:
apply
in class ActionTemplateShowAndApply
- Throws:
DAOException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26