...
Cette classe s'appuie sur la bibliothèque LdapTemplate org.springframework.ldap.core.LdapTemplate:
Bloc de code |
---|
<bean id="ldapTemplate" class="net.sf.ldaptemplate.LdapTemplate"> <property name="contextSource" ref="contextSource" /> </bean> <bean id="contextSource" class="net.sf.ldaptemplate.support.LdapContextSource"> <property name="url" value="ldap://ldap.esup-portail.org:389" /> <property name="userName" value="" /> <property name="password" value="" /> <property name="base" value="ou=people,dc=esup-portail,dc=org"/> <property name="baseEnvironmentProperties"> <map> <entry key="com.sun.jndi.ldap.connect.timeout" value="5000" /> </map> </property> </bean> |
...