Transformed ldapHandler from FastBindLdapAuthenticationHandler to BindLdapAuthenticationHandler
Benjamin Renard

Benjamin Renard commited on 2014-12-11 13:55:22
Showing 1 changed files, with 3 additions and 2 deletions.

... ...
@@ -44,8 +44,9 @@
44 44
 			</map>
45 45
 		</property>
46 46
 	</bean>
47
-	<bean id="ldapHandler" class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" lazy-init="true">
48
-		<property name="filter" value="${ldap.basedn}" />
47
+	<bean id="ldapHandler" class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
48
+		<property name="filter" value="(|(uid=%u)(mail=%u))" />
49
+		<property name="searchBase" value="${ldap.basedn}" />
49 50
 		<property name="contextSource" ref="contextSource" />
50 51
 	</bean>
51 52
 </beans>
52 53