+

Transformed ldapHandler from FastBindLdapAuthenticationHandler to BindLdapAuthenticationHandler

Benjamin Renard [2014-12-11 13:55:22]
Transformed ldapHandler from FastBindLdapAuthenticationHandler to BindLdapAuthenticationHandler
Filename
custom/webpages/WEB-INF/auth-configuration/ldap-auth.xml
diff --git a/custom/webpages/WEB-INF/auth-configuration/ldap-auth.xml b/custom/webpages/WEB-INF/auth-configuration/ldap-auth.xml
index ec21361..3b3c006 100644
--- a/custom/webpages/WEB-INF/auth-configuration/ldap-auth.xml
+++ b/custom/webpages/WEB-INF/auth-configuration/ldap-auth.xml
@@ -44,8 +44,9 @@
 			</map>
 		</property>
 	</bean>
-	<bean id="ldapHandler" class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" lazy-init="true">
-		<property name="filter" value="${ldap.basedn}" />
+	<bean id="ldapHandler" class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
+		<property name="filter" value="(|(uid=%u)(mail=%u))" />
+		<property name="searchBase" value="${ldap.basedn}" />
 		<property name="contextSource" ref="contextSource" />
 	</bean>
 </beans>
ViewGit