public class NamespaceAuthenticationManager extends ProviderManager implements org.springframework.beans.factory.BeanFactoryAware
the default authentication manager which lazily initializes
the list of AuthenticationProviders. This prevents some of the issues that have occurred with
namespace configuration where early instantiation of a security interceptor has caused the AuthenticationManager
and thus dependent beans (typically UserDetailsService implementations or DAOs) to be initialized too early.messages| Constructor and Description |
|---|
NamespaceAuthenticationManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
java.util.List |
getProviders()
Overridden to lazily-initialize the list of providers on first use.
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setProviderBeanNames(java.util.List provideBeanNames) |
doAuthentication, getSessionController, setAdditionalExceptionMappings, setApplicationEventPublisher, setMessageSource, setProviders, setSessionControllerauthenticate, setClearExtraInformationpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class ProviderManagerjava.lang.Exceptionpublic java.util.List getProviders()
getProviders in class ProviderManagerpublic void setProviderBeanNames(java.util.List provideBeanNames)