org.broadleafcommerce.core.web.controller.account.validator
Class ChangePasswordValidator
java.lang.Object
org.broadleafcommerce.core.web.controller.account.validator.ChangePasswordValidator
- All Implemented Interfaces:
- org.springframework.validation.Validator
@Component(value="blChangePasswordValidator")
public class ChangePasswordValidator
- extends Object
- implements org.springframework.validation.Validator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_VALID_PASSWORD_REGEX
public static final String DEFAULT_VALID_PASSWORD_REGEX
- See Also:
- Constant Field Values
ChangePasswordValidator
public ChangePasswordValidator()
validate
public void validate(PasswordChange passwordChange,
org.springframework.validation.Errors errors)
getValidPasswordRegex
public String getValidPasswordRegex()
setValidPasswordRegex
public void setValidPasswordRegex(String validPasswordRegex)
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports in interface org.springframework.validation.Validator
validate
public void validate(Object target,
org.springframework.validation.Errors errors)
- Specified by:
validate in interface org.springframework.validation.Validator
Copyright © 2013. All Rights Reserved.