Kevin,
Reference: http://www.ja-sig.org/wiki/display/CASUM/LDAP
<bean id="authenticationManager"
class="org.jasig.cas.authentication.AuthenticationManagerImpl">
<property name="authenticationHandlers">
<list>
<bean
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredenti
alsAuthenticationHandler" p:httpClient-ref="httpClient" />
<bean id="ldapDomino"
class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler" >
<property name="filter" value="uid=%u" />
<property name="searchBase" value="your search base" />
<property name="contextSource" ref="ldapContext" />
<property name="scope" value="2" />
<property name="timeout" value="120" />
</bean>
</list>
</property>
</bean>
<bean id="ldapContext"
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
<property name="pooled" value="true"/>
<property name="urls">
<list>
<value>ldaps://some.secure.ldap</value>
</list>
</property>
<property name="anonymousReadOnly" value="true" />
</bean>
HTH,
A-
On 10/8/08 5:46 AM, "Kevin Thomson" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> My name is Kevin Thomson from the University of St Andrews in
> Scotland. We are trying to implement a cas server which will hook up
> to our back end ldap directory server. I have two questions;
>
> 1 do you configure ldap using the deployerConfigContext.xml in
> $CAS_HOME/cas-server-support-ldap?
> 2 to configure a non authenticated bind do you have to leave the
> usernames and passwords out of the AuthenticatedLdapContextSource
> definition?
> 3 Can anybody give me an example of a deployerConfigContext.xml setup
> for an anonymous bind?
> Thanks for you help
>
> Kevin.
>
>
>
> Kevin Thomson
> Business Improvements
> University of St Andrews
> [EMAIL PROTECTED]
> (01334) 462745
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
--
Andrew R. Feller, Analyst
Information Technology Services
200 Fred Frey Building
Louisiana State University
Baton Rouge, LA 70803
(225) 578-3737 (Office)
(225) 578-6400 (Fax)
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas