@Component(value="blChangePasswordValidator") public class ChangePasswordValidator extends Object implements org.springframework.validation.Validator
| Modifier and Type | Field and Description |
|---|---|
protected CustomerService |
customerService |
static String |
DEFAULT_VALID_PASSWORD_REGEX |
| Constructor and Description |
|---|
ChangePasswordValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValidPasswordRegex() |
void |
setValidPasswordRegex(String validPasswordRegex) |
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
void |
validate(PasswordChange passwordChange,
org.springframework.validation.Errors errors) |
public static final String DEFAULT_VALID_PASSWORD_REGEX
protected CustomerService customerService
public void validate(PasswordChange passwordChange, org.springframework.validation.Errors errors)
public String getValidPasswordRegex()
public void setValidPasswordRegex(String validPasswordRegex)
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 © 2014. All Rights Reserved.