Class PasswordEncoderAutoConfiguration


  • @Configuration
    @ConditionalOnClass({org.springframework.security.crypto.factory.PasswordEncoderFactories.class,org.springframework.security.crypto.password.PasswordEncoder.class})
    @ConditionalOnWebApplication(type=ANY)
    public class PasswordEncoderAutoConfiguration
    extends Object
    The password encoder auto configuration.
    Author:
    Christian Bremer
    • Constructor Detail

      • PasswordEncoderAutoConfiguration

        public PasswordEncoderAutoConfiguration()
    • Method Detail

      • passwordEncoder

        @Bean
        @ConditionalOnMissingBean
        @Lazy
        public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
        Creates a password encoder bean.
        Returns:
        the password encoder