Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<bean id="authenticationManager" ...

<property name="authenticationHandlers">
<list>
// ---- add the section below -----
<bean class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
<property name="filter" value="uid=%u,ou=people,dc=yourinstitution,dc=edu" />
<property name="contextSource" ref="contextSource" />
</bean>
</list>

...

</property>

...

</bean>

In this example, we have chosen to perform a "Fast Bind" against the LDAP server. This requires that you know where users exist in your LDAP Directory Information Tree (DIT).

Add Then add the contextSource bean, which is used to tell CAS about your LDAP server.

...