@Configuration @ConditionalOnBean(value=org.springframework.security.config.annotation.ObjectPostProcessor.class) @ConditionalOnMissingBean(value=org.springframework.security.authentication.AuthenticationManager.class) public class AuthenticationManagerConfiguration extends Object
AuthenticationManager
. Can be
disabled by providing a bean of type AuthenticationManager. The value provided by this
configuration will become the "global" authentication manager (from Spring Security),
or the parent of the global instance. Thus it acts as a fallback when no others are
provided, is used by method security if enabled, and as a parent authentication manager
for "local" authentication managers in individual filter chains.Modifier and Type | Class and Description |
---|---|
protected static class |
AuthenticationManagerConfiguration.AuthenticationManagerConfigurationListener
|
Constructor and Description |
---|
AuthenticationManagerConfiguration() |
Modifier and Type | Method and Description |
---|---|
AuthenticationManager |
authenticationManager(AuthenticationConfiguration configuration) |
static org.springframework.boot.autoconfigure.security.AuthenticationManagerConfiguration.SpringBootAuthenticationConfigurerAdapter |
springBootAuthenticationConfigurerAdapter(SecurityProperties securityProperties,
List<SecurityPrerequisite> dependencies) |
@Bean @Primary public AuthenticationManager authenticationManager(AuthenticationConfiguration configuration) throws Exception
Exception
@Bean public static org.springframework.boot.autoconfigure.security.AuthenticationManagerConfiguration.SpringBootAuthenticationConfigurerAdapter springBootAuthenticationConfigurerAdapter(SecurityProperties securityProperties, List<SecurityPrerequisite> dependencies)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.