Class ValidationAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.user.validation.autoconfigure.ValidationAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties({PasswordTokenProperties.class,PasswordValidatorProperties.class,DefaultPasswordRequestValidator.class})
public class ValidationAutoConfiguration
extends Object
- Author:
- Phillip Verheyden (phillipuniverse)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionchangePasswordFormValidator
(PasswordRequestValidator passwordValidator, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) passwordTokenValidator
(PasswordTokenProperties tokenProperties, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) passwordValidator
(PasswordValidatorProperties passwordValidatorProperties) registrationValidator
(PasswordRequestValidator passwordValidator, AuthRegistrationProperties authRegistrationProperties) resetPasswordFormValidator
(UsernameValidator usernameValidator, PasswordRequestValidator passwordValidator, PasswordTokenValidator<PasswordToken> passwordTokenValidator)
-
Constructor Details
-
ValidationAutoConfiguration
public ValidationAutoConfiguration()
-
-
Method Details
-
passwordTokenValidator
@Bean @ConditionalOnMissingBean public PasswordTokenValidator passwordTokenValidator(PasswordTokenProperties tokenProperties, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) -
passwordValidator
@Bean @ConditionalOnMissingBean public PasswordRequestValidator passwordValidator(PasswordValidatorProperties passwordValidatorProperties) -
resetPasswordFormValidator
@Bean @ConditionalOnMissingBean public ResetPasswordFormValidator<PasswordToken> resetPasswordFormValidator(UsernameValidator usernameValidator, PasswordRequestValidator passwordValidator, PasswordTokenValidator<PasswordToken> passwordTokenValidator) -
changePasswordFormValidator
@Bean @ConditionalOnMissingBean public ChangePasswordFormValidator changePasswordFormValidator(PasswordRequestValidator passwordValidator, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) -
usernameValidator
-
registrationValidator
@Bean @ConditionalOnMissingBean public RegistrationValidator registrationValidator(PasswordRequestValidator passwordValidator, AuthRegistrationProperties authRegistrationProperties)
-