Class ResetUserPasswordAction

    • Constructor Detail

      • ResetUserPasswordAction

        public ResetUserPasswordAction()
    • Method Detail

      • validate

        public void validate()
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
      • doResetPassword

        public String doResetPassword()
      • setUsername

        public void setUsername​(String username)
      • getUsername

        public String getUsername()
      • setToken

        public void setToken​(String token)
      • getToken

        public String getToken()
      • setNewPassword

        public void setNewPassword​(String newPassword)
      • setNewPasswordConfirmation

        public void setNewPasswordConfirmation​(String newPasswordConfirmation)
      • setUserVerificationTokenManager

        public void setUserVerificationTokenManager​(UserVerificationTokenManager userVerificationTokenManager)
      • setCaptchaManager

        public void setCaptchaManager​(CaptchaManager captchaManager)
      • mustValidateCaptcha

        public boolean mustValidateCaptcha()
        Specified by:
        mustValidateCaptcha in interface CaptchaAware
        Returns:
        a boolean value indicating if the Captcha response must always be validated on each action form post. e.g. There is no counter for number of tries, and no requirement for captcha spam prevention to be explicitly enabled.