NewPasswordAction

Resets the password of the given user

Struts config
<action path="/newPassword"
  type="com.escenic.profile.presentation.struts.NewPasswordAction"
  name="PasswordForm"
  input="/newPassword-input.jsp"
  validate="true">

  <forward name="success"
           path="/newPassword-success.jsp"/>
</action>
Action Form

This action can be used with the following form:

com.escenic.profile.presentation.struts.PasswordForm

The form contains information about the user which requires a new password

Action Forwards

input page

If the password couldn't be reset

success

If reset was a success.

Action Error

If resetting password fails, an error will be logged, and the action will be forwarded to the input-page.

reset_password_failed

(On the global property.) If resetting password failes