Class ValidationAutoConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.user.validation.autoconfigure.ValidationAutoConfiguration
-
@Configuration @EnableConfigurationProperties({PasswordTokenProperties.class,PasswordValidatorProperties.class,DefaultPasswordRequestValidator.class}) public class ValidationAutoConfiguration extends Object
- Author:
- Phillip Verheyden (phillipuniverse)
-
-
Constructor Summary
Constructors Constructor Description ValidationAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangePasswordFormValidator
changePasswordFormValidator(PasswordRequestValidator passwordValidator, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
PasswordTokenValidator
passwordTokenValidator(PasswordTokenProperties tokenProperties, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
PasswordRequestValidator
passwordValidator(PasswordValidatorProperties passwordValidatorProperties)
RegistrationValidator
registrationValidator(PasswordRequestValidator passwordValidator, AuthRegistrationProperties authRegistrationProperties)
ResetPasswordFormValidator<PasswordToken>
resetPasswordFormValidator(UsernameValidator usernameValidator, PasswordRequestValidator passwordValidator, PasswordTokenValidator<PasswordToken> passwordTokenValidator)
UsernameValidator
usernameValidator()
-
-
-
Method Detail
-
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
@Bean @ConditionalOnMissingBean public UsernameValidator usernameValidator()
-
registrationValidator
@Bean @ConditionalOnMissingBean public RegistrationValidator registrationValidator(PasswordRequestValidator passwordValidator, AuthRegistrationProperties authRegistrationProperties)
-
-