Class AbstractAuthenticatorBeanDefinitionParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
AbstractSearchAuthenticatorBeanDefinitionParser, DirectAuthenticatorBeanDefinitionParser

public abstract class AbstractAuthenticatorBeanDefinitionParser extends AbstractConnectionFactoryBeanDefinitionParser
Common implementation for all authenticators.
  • Constructor Details

    • AbstractAuthenticatorBeanDefinitionParser

      public AbstractAuthenticatorBeanDefinitionParser()
  • Method Details

    • getBeanClass

      protected Class<?> getBeanClass(Element element)
      Overrides:
      getBeanClass in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
    • parseAuthHandler

      protected org.springframework.beans.factory.support.BeanDefinitionBuilder parseAuthHandler(Element element)
      Creates a pooled authentication handler for performing binds.
      Parameters:
      element - containing configuration
      Returns:
      pooled bind authentication handler bean definition builder
    • parseEntryResolver

      protected org.springframework.beans.factory.support.BeanDefinitionBuilder parseEntryResolver(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder connectionFactory)
      Creates an entry resolver.
      Parameters:
      element - containing configuration
      connectionFactory - for entry resolution or null to forgo wiring a connection factory
      Returns:
      search entry resolver bean definition builder
    • parseAuthResponseHandler

      protected org.springframework.beans.factory.support.BeanDefinitionBuilder parseAuthResponseHandler(org.springframework.beans.factory.support.BeanDefinitionBuilder authenticator, org.springframework.beans.factory.support.BeanDefinitionBuilder authHandler, Element element)
      Creates an authentication response handler bean definition builder. The supplied authentication handler will be updated with any necessary request controls that the response handler may require.
      Parameters:
      authenticator - bean definition builder for the authenticator
      authHandler - bean definition builder for the authentication handler
      element - containing authentication response handler
      Returns:
      authentication response handler bean definition builder