SetPasswordAction
Resets the password of the current user. This can only be done in a logged-in context
Struts config
<action path="/setPassword" type="com.escenic.profile.presentation.struts.SetPasswordAction" name="ChangePasswordForm" input="/setPassword-input.jsp" validate="true"> <forward name="success" path="/setPassword-success.jsp"/> </action>
Action Form
This action can be used with the following form:
com.escenic.profile.presentation.struts.ChangePasswordForm
-
The form contains information about the new password
Action Forwards
- input page
-
If the password couldn't be updated
success
-
If update was a success.
Action Error
If updating password fails, an error will be logged, and the action will be forwarded to the input-page.
set_password_failed
-
(On the
global
property.) If updating password failes