Quick question from neebie to cas
Scott Battaglia
scott.battaglia at gmail.com
Wed Oct 8 09:08:05 EDT 2008
Just to build on what Andrew said, you should add that to the
$CAS_HOME/cas-server-webapp/src/main/WEB-INF/deployerConfigContext.xml
-Scott
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
On Wed, Oct 8, 2008 at 7:06 AM, Andrew Ralph Feller, afelle1 <
afelle1 at lsu.edu> wrote:
> 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.HttpBasedServiceCredentialsAuthenticationHandler"
> 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" <kjt at st-andrews.ac.uk> 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
> > k.thomson at st-andrews.ac.uk
> > (01334) 462745
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > 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
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081008/6fc4f220/attachment.html
More information about the cas
mailing list