@Component public class PasswordsValidator extends Object implements org.springframework.validation.Validator
| Constructor and Description |
|---|
PasswordsValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
containsSpecialChar(String password) |
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
protected boolean containsSpecialChar(String password)
public boolean supports(Class<?> clazz)
supports in interface org.springframework.validation.Validatorpublic void validate(Object target, org.springframework.validation.Errors errors)
validate in interface org.springframework.validation.ValidatorCopyright © 2018. All rights reserved.