org.ldaptive.beans.spring.NamespaceHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ldaptive-beans Show documentation
Show all versions of ldaptive-beans Show documentation
Provides a mapping, persistence, and code generation API for reading and writing POJOs to an LDAP directory
/* See LICENSE for licensing and NOTICE for copyright. */
package org.ldaptive.beans.spring;
import org.ldaptive.beans.spring.parser.ADAuthenticatorBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.AggregateAuthenticatorBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.AnonSearchAuthenticatorBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.BindSearchAuthenticatorBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.ConnectionConfigBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.ConnectionFactoryBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.DirectAuthenticatorBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.PooledConnectionFactoryBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.SaslBindSearchAuthenticatorBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.SearchOperationBeanDefinitionParser;
import org.ldaptive.beans.spring.parser.SearchOperationWorkerBeanDefinitionParser;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
/**
* Spring namespace handler for ldaptive.
*
* @author Middleware Services
*/
public class NamespaceHandler extends NamespaceHandlerSupport
{
@Override
public void init()
{
registerBeanDefinitionParser("anonymous-search-authenticator", new AnonSearchAuthenticatorBeanDefinitionParser());
registerBeanDefinitionParser("bind-search-authenticator", new BindSearchAuthenticatorBeanDefinitionParser());
registerBeanDefinitionParser(
"sasl-bind-search-authenticator",
new SaslBindSearchAuthenticatorBeanDefinitionParser());
registerBeanDefinitionParser("direct-authenticator", new DirectAuthenticatorBeanDefinitionParser());
registerBeanDefinitionParser("ad-authenticator", new ADAuthenticatorBeanDefinitionParser());
registerBeanDefinitionParser("aggregate-authenticator", new AggregateAuthenticatorBeanDefinitionParser());
registerBeanDefinitionParser("pooled-connection-factory", new PooledConnectionFactoryBeanDefinitionParser());
registerBeanDefinitionParser("connection-factory", new ConnectionFactoryBeanDefinitionParser());
registerBeanDefinitionParser("connection-config", new ConnectionConfigBeanDefinitionParser());
registerBeanDefinitionParser("search-operation", new SearchOperationBeanDefinitionParser());
registerBeanDefinitionParser("search-operation-worker", new SearchOperationWorkerBeanDefinitionParser());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy