public interface ResetPasswordFormValidator<P extends PasswordToken>
ResetPasswordForm
. This is generally a form submitted by a
user from a UI.Modifier and Type | Method and Description |
---|---|
void |
validate(List<P> tokens,
ResetPasswordForm resetPasswordForm,
org.springframework.validation.Errors errors)
Validates a password reset form.
|
void validate(List<P> tokens, ResetPasswordForm resetPasswordForm, org.springframework.validation.Errors errors)
tokens
- A list of password tokens belonging to a user.resetPasswordForm
- The reset password formerrors
- An errors object to populate if validation fails.PasswordToken.getUserId()
Copyright © 2021. All rights reserved.