All Downloads are FREE. Search and download functionalities are using the official Maven repository.

iutest.conf.ldapTemplateTestContext.xml Maven / Gradle / Ivy

Go to download

Java framework to simplify LDAP operations, based on the pattern of Spring's JdbcTemplate. Relieves the users of the burden of looking up and closing contexts, looping through NamingEnumerations, encoding/decoding values and filters, and more.

There is a newer version: 1.0.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
    <import resource="classpath:/conf/apacheDsContext.xml"/>
    
	<bean id="placeholderConfig"
		class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="location" value="classpath:/conf/ldap.properties" />
	</bean>
	
	<bean id="contextSource" class="net.sf.ldaptemplate.support.LdapContextSource" >
		<property name="urls" value="${urls}" />
		<property name="userName" value="${userName}" />
		<property name="password" value="${password}" />
		<property name="dirObjectFactory" value="net.sf.ldaptemplate.support.DefaultDirObjectFactory" />
	</bean>
	
	<bean id="ldapTemplate" class="net.sf.ldaptemplate.LdapTemplate">
		<constructor-arg ref="contextSource" />
	</bean>
	
	<bean id="dataLoader" class="org.ddsteps.data.excel.CachingExcelDataLoader" />
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy