public class

AuthenticationManagerFactoryBean

extends Object
implements BeanFactoryAware
java.lang.Object
   ↳ org.springframework.security.config.authentication.AuthenticationManagerFactoryBean

Class Overview

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.

Summary

Constants
String MISSING_BEAN_ERROR_MESSAGE
Public Constructors
AuthenticationManagerFactoryBean()
Public Methods
AuthenticationManager getObject()
Class<? extends AuthenticationManager> getObjectType()
boolean isSingleton()
void setBeanFactory(BeanFactory beanFactory)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.BeanFactoryAware

Constants

public static final String MISSING_BEAN_ERROR_MESSAGE

Constant Value: "Did you forget to add a gobal element to your configuration (with child elements)? Alternatively you can use the authentication-manager-ref attribute on your and elements."

Public Constructors

public AuthenticationManagerFactoryBean ()

Public Methods

public AuthenticationManager getObject ()

Throws
Exception

public Class<? extends AuthenticationManager> getObjectType ()

public boolean isSingleton ()

public void setBeanFactory (BeanFactory beanFactory)

Throws
BeansException