java.lang.Object
org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration

@Configuration(proxyBeanMethods=false) @Import(ObjectPostProcessorConfiguration.class) public class AuthenticationConfiguration extends Object
Exports the authentication Configuration
Since:
3.2
  • Constructor Details

    • AuthenticationConfiguration

      public AuthenticationConfiguration()
  • Method Details

    • authenticationManagerBuilder

      @Bean public AuthenticationManagerBuilder authenticationManagerBuilder(ObjectPostProcessor<Object> objectPostProcessor, org.springframework.context.ApplicationContext context)
    • enableGlobalAuthenticationAutowiredConfigurer

      @Bean public static GlobalAuthenticationConfigurerAdapter enableGlobalAuthenticationAutowiredConfigurer(org.springframework.context.ApplicationContext context)
    • initializeUserDetailsBeanManagerConfigurer

      @Bean public static org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer initializeUserDetailsBeanManagerConfigurer(org.springframework.context.ApplicationContext context)
    • initializeAuthenticationProviderBeanManagerConfigurer

      @Bean public static org.springframework.security.config.annotation.authentication.configuration.InitializeAuthenticationProviderBeanManagerConfigurer initializeAuthenticationProviderBeanManagerConfigurer(org.springframework.context.ApplicationContext context)
    • getAuthenticationManager

      public AuthenticationManager getAuthenticationManager() throws Exception
      Throws:
      Exception
    • setGlobalAuthenticationConfigurers

      @Autowired(required=false) public void setGlobalAuthenticationConfigurers(List<GlobalAuthenticationConfigurerAdapter> configurers)
    • setApplicationContext

      @Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • setObjectPostProcessor

      @Autowired public void setObjectPostProcessor(ObjectPostProcessor<Object> objectPostProcessor)