@Configuration @ConditionalOnBean(value=org.springframework.security.config.annotation.ObjectPostProcessor.class) @ConditionalOnMissingBean(value=org.springframework.security.authentication.AuthenticationManager.class) public class AuthenticationManagerConfiguration extends org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
AuthenticationManager.| Constructor and Description |
|---|
AuthenticationManagerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.AuthenticationManager |
authenticationManager() |
void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
void |
init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
public void init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws Exception
init in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>init in class org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapterExceptionpublic void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>configure in class org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapterException@Bean @Primary public org.springframework.security.authentication.AuthenticationManager authenticationManager()
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>Copyright © 2014 Pivotal Software, Inc.. All rights reserved.