@Configuration @ConditionalOnClass(value=org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter.class) public class BootGlobalAuthenticationConfiguration extends Object
GlobalAuthenticationConfigurerAdapter
to trigger early initialization of
@EnableAutoConfiguration
beans. This configuration is imported from
AuthenticationConfiguration
to ensure that users are able to configure the
AuthenticationManagerBuilder
from their @EnableAutoConfiguration
or
@SpringBootApplication
configuration class:
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) { ... }
Constructor and Description |
---|
BootGlobalAuthenticationConfiguration() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.boot.autoconfigure.security.BootGlobalAuthenticationConfiguration.BootGlobalAuthenticationConfigurationAdapter |
bootGlobalAuthenticationConfigurationAdapter(ApplicationContext context) |
public BootGlobalAuthenticationConfiguration()
@Bean public static org.springframework.boot.autoconfigure.security.BootGlobalAuthenticationConfiguration.BootGlobalAuthenticationConfigurationAdapter bootGlobalAuthenticationConfigurationAdapter(ApplicationContext context)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.