- All Implemented Interfaces:
- org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>
@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
Configuration for a Spring Security in-memory 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.
- Author:
- Dave Syer, Rob Winch