Class ChangePasswordValidator
java.lang.Object
org.broadleafcommerce.core.web.controller.account.validator.ChangePasswordValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
@Component("blChangePasswordValidator")
public class ChangePasswordValidator
extends Object
implements org.springframework.validation.Validator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.broadleafcommerce.profile.core.service.CustomerServiceprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.validation.Validator
validateObject
-
Field Details
-
customerService
protected org.broadleafcommerce.profile.core.service.CustomerService customerService -
enableCurrentPasswordCheck
-
-
Constructor Details
-
ChangePasswordValidator
public ChangePasswordValidator()
-
-
Method Details
-
getValidPasswordRegex
-
validate
public void validate(org.broadleafcommerce.common.security.util.PasswordChange passwordChange, org.springframework.validation.Errors errors) -
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-