- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.security.authentication.AuthenticationManager
public class AuthenticationManagerDelegator
extends Object
implements org.springframework.security.authentication.AuthenticationManager, org.springframework.beans.factory.BeanFactoryAware
Lazy implementation of AuthenticationManager which gets a delegate authentication provider from the bean
factory when it really needs it.
We need this to break a cycle between ProviderManager --> DaoAuthenticationProvider --> JdbcUserDetailsManager --> ProviderManager
Shamelessly pasted from package-private GlobalMethodSecurityBeanDefinitionParser.AuthenticationManagerDelegator class
- Author:
- Luke Taylor, Gregory Fouquet