Class AuthenticationConfiguration
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationManagerBuilder
(ObjectPostProcessor<Object> objectPostProcessor, org.springframework.context.ApplicationContext context) enableGlobalAuthenticationAutowiredConfigurer
(org.springframework.context.ApplicationContext context) static org.springframework.security.config.annotation.authentication.configuration.InitializeAuthenticationProviderBeanManagerConfigurer
initializeAuthenticationProviderBeanManagerConfigurer
(org.springframework.context.ApplicationContext context) static org.springframework.security.config.annotation.authentication.configuration.InitializeUserDetailsBeanManagerConfigurer
initializeUserDetailsBeanManagerConfigurer
(org.springframework.context.ApplicationContext context) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
void
setObjectPostProcessor
(ObjectPostProcessor<Object> objectPostProcessor)
-
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
- Throws:
Exception
-
setGlobalAuthenticationConfigurers
@Autowired(required=false) public void setGlobalAuthenticationConfigurers(List<GlobalAuthenticationConfigurerAdapter> configurers) -
setApplicationContext
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
setObjectPostProcessor
-