Class AuthenticationManagerFactoryBean
java.lang.Object
org.springframework.security.config.authentication.AuthenticationManagerFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.BeanFactoryAware,- org.springframework.beans.factory.FactoryBean<AuthenticationManager>
public class AuthenticationManagerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<AuthenticationManager>, org.springframework.beans.factory.BeanFactoryAware
Factory bean for the namespace AuthenticationManager, which allows a more meaningful
 error message to be reported in the NoSuchBeanDefinitionException, if the user
 has forgotten to declare the <authentication-manager> element.
- Since:
- 3.0
- 
Field SummaryFieldsFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends AuthenticationManager>booleanvoidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) 
- 
Field Details- 
MISSING_BEAN_ERROR_MESSAGE- See Also:
 
 
- 
- 
Constructor Details- 
AuthenticationManagerFactoryBeanpublic AuthenticationManagerFactoryBean()
 
- 
- 
Method Details- 
getObject- Specified by:
- getObjectin interface- org.springframework.beans.factory.FactoryBean<AuthenticationManager>
- Throws:
- Exception
 
- 
getObjectType- Specified by:
- getObjectTypein interface- org.springframework.beans.factory.FactoryBean<AuthenticationManager>
 
- 
isSingletonpublic boolean isSingleton()- Specified by:
- isSingletonin interface- org.springframework.beans.factory.FactoryBean<AuthenticationManager>
 
- 
setBeanFactorypublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
- setBeanFactoryin interface- org.springframework.beans.factory.BeanFactoryAware
- Throws:
- org.springframework.beans.BeansException
 
- 
setObservationRegistrypublic void setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) 
 
-