Class AggregateAuthenticatorBeanDefinitionParser.AggregateAuthenticatorFactoryBean

java.lang.Object
org.ldaptive.beans.spring.parser.AggregateAuthenticatorBeanDefinitionParser.AggregateAuthenticatorFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Authenticator>
Enclosing class:
AggregateAuthenticatorBeanDefinitionParser

protected static class AggregateAuthenticatorBeanDefinitionParser.AggregateAuthenticatorFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Authenticator>
Factory bean that creates an authenticator with an AggregateDnResolver.
  • Field Details

  • Constructor Details

    • AggregateAuthenticatorFactoryBean

      protected AggregateAuthenticatorFactoryBean()
  • Method Details

    • setAuthenticators

      public void setAuthenticators(List<Authenticator> auths)
      Sets the authenticators to aggregate.
      Parameters:
      auths - authenticators to aggregate
    • setAllowMultipleDns

      public void setAllowMultipleDns(boolean b)
      Sets whether the aggregate authenticator will allow multiple DNs.
      Parameters:
      b - whether multiple DNs are allowed
    • setReturnAttributes

      public void setReturnAttributes(String... attrs)
      Sets the return attributes.
      Parameters:
      attrs - return attributes
    • setResolveEntryOnFailure

      public void setResolveEntryOnFailure(boolean b)
      Sets whether to execute the entry resolver on authentication failure.
      Parameters:
      b - whether to execute the entry resolver
    • getObject

      public Authenticator getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<Authenticator>
      Throws:
      Exception
    • getObjectType

      public Class<Authenticator> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<Authenticator>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<Authenticator>