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 Summary
FieldsFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
AuthenticationManagerFactoryBean
public AuthenticationManagerFactoryBean() 
 - 
 - 
Method Details
- 
getObject
- Specified by:
 getObjectin interfaceorg.springframework.beans.factory.FactoryBean<AuthenticationManager>- Throws:
 Exception
 - 
getObjectType
- Specified by:
 getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<AuthenticationManager>
 - 
isSingleton
public boolean isSingleton()- Specified by:
 isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<AuthenticationManager>
 - 
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
 setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
 org.springframework.beans.BeansException
 - 
setObservationRegistry
public void setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry)  
 -