@Configuration @ConditionalOnBean(value=) @ConditionalOnMissingBean(value= ) 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 auth) |
static org.springframework.boot.autoconfigure.security.AuthenticationManagerConfiguration.BootDefaultingAuthenticationConfigurerAdapter |
bootDefaultingAuthenticationConfigurerAdapter(SecurityProperties security,
List<SecurityPrequisite> dependencies) |
@Bean @Primary public AuthenticationManager authenticationManager(AuthenticationConfiguration auth) throws Exception
Exception
@Bean public static org.springframework.boot.autoconfigure.security.AuthenticationManagerConfiguration.BootDefaultingAuthenticationConfigurerAdapter bootDefaultingAuthenticationConfigurerAdapter(SecurityProperties security, List<SecurityPrequisite> dependencies)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.