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 Object
implements org.springframework.beans.factory.FactoryBean<Authenticator>
Factory bean that creates an authenticator with an
AggregateDnResolver.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanValue forAggregateDnResolver.getAllowMultipleDns().private List<Authenticator>Authenticators to aggregate.private booleanValue ofAuthenticator.getResolveEntryOnFailure().private String[]Value forAuthenticator.getReturnAttributes(). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAllowMultipleDns(boolean b) Sets whether the aggregate authenticator will allow multiple DNs.voidsetAuthenticators(List<Authenticator> auths) Sets the authenticators to aggregate.voidsetResolveEntryOnFailure(boolean b) Sets whether to execute the entry resolver on authentication failure.voidsetReturnAttributes(String... attrs) Sets the return attributes.
-
Field Details
-
authenticators
Authenticators to aggregate. -
allowMultipleDns
private boolean allowMultipleDnsValue forAggregateDnResolver.getAllowMultipleDns(). -
returnAttributes
Value forAuthenticator.getReturnAttributes(). -
resolveEntryOnFailure
private boolean resolveEntryOnFailureValue ofAuthenticator.getResolveEntryOnFailure().
-
-
Constructor Details
-
AggregateAuthenticatorFactoryBean
protected AggregateAuthenticatorFactoryBean()
-
-
Method Details
-
setAuthenticators
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
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
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<Authenticator>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<Authenticator>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<Authenticator>
-