Package org.ldaptive.beans.spring.parser
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 java.lang.Object implements org.springframework.beans.factory.FactoryBean<Authenticator>
Factory bean that creates an authenticator with anAggregateDnResolver
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AggregateAuthenticatorFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticator
getObject()
java.lang.Class<Authenticator>
getObjectType()
boolean
isSingleton()
void
setAllowMultipleDns(boolean b)
Sets whether the aggregate authenticator will allow multiple DNs.void
setAuthenticators(java.util.List<Authenticator> auths)
Sets the authenticators to aggregate.void
setResolveEntryOnFailure(boolean b)
Sets whether to execute the entry resolver on authentication failure.void
setReturnAttributes(java.lang.String... attrs)
Sets the return attributes.
-
-
-
Method Detail
-
setAuthenticators
public void setAuthenticators(java.util.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(java.lang.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 java.lang.Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<Authenticator>
- Throws:
java.lang.Exception
-
getObjectType
public java.lang.Class<Authenticator> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<Authenticator>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<Authenticator>
-
-