Interface ResetPasswordFormValidator<P extends PasswordToken>

    • Method Detail

      • validate

        void validate​(List<P> tokens,
                      ResetPasswordForm resetPasswordForm,
                      org.springframework.validation.Errors errors)
        Validates a password reset form. When resetting a password, this is where validation of password requirements should be performed.

        Parameters:
        tokens - A list of password tokens belonging to a user.
        resetPasswordForm - The reset password form
        errors - An errors object to populate if validation fails.
        See Also:
        PasswordToken.getUserId()