Setting up CAS to use LDAP???

Scott Battaglia scott.battaglia at gmail.com
Fri Jan 5 07:47:37 EST 2007


That should be all you need to do.  The fact that you are getting that
message means that it is accessing the LDAP server.  You can try increasing
the logging level (i.e. changing it to DEBUG) to see if you get useful
messages.

-Scott

On 1/4/07, Terrel Ross <taross78 at gmail.com> wrote:
>
> This is what I added to the deployerConfigContext.xml file:
>
> <bean class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler"
> >
>                                     <property name="filter"
> value="uid=%u,ou=people,o=llu,o=lluashc" />
>                                     <property name="contextSource"
> ref="contextSource" />
>                                 </bean>
>                         </list>
>         </property>
>
>     </bean>
>
>             <bean id="contextSource" class="
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
>                 <property name="urls">
>                     <list>
>                          <value>ldap://ldap.llu.edu:389</value>
>                     </list>
>                 </property>
>             </bean>
>
> I am using server 3.0.6 and I have the following LDAP jar files(along with
> all the others) in the lib dir:
>
> cas-server-ldap-3.0.6.jar
> ldapbp.jar
> spring-ldap.jar
>
> We have a secure LDAP server but this is just a demo to get it to work. I
> run the server and after I try to enter a username a password,  I get an
> error which states:
>
> The credentials you provided cannot be determined to be authentic.
>
> After this configuration, should I be able to login to the cas server with
> my LDAP credentials. I followed the instructions that were in the
> documentation, but I may have over looked a step. Do I have to create my own
> AuthenticationHandler?  Thanks for responsing, I really appreciate it.
>
> Terrel
>
> On 1/4/07, Scott Battaglia <scott.battaglia at gmail.com> wrote:
> >
> > That should be the only addition (as well as configuring a ContextSource
> > and including the LDAP jar).  Did it work for you?
> >
> > -Scott
> >
> > On 1/4/07, Terrel Ross <taross78 at gmail.com> wrote:
> >
> > > Hello,
> > >
> > > I just deployed the cas.war test server demo and was wondering if I
> > > could configure the login credentials to check with LDAP.  I tried to setup
> > > the fastbind authentication, but I am having trouble getting it to work
> > > properly.  Here's what I have in the contextSource bean:
> > >
> > > <bean class="
> > > org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
> > >           <property name="filter"
> > > value="uid=%u,ou=people,o=llu,o=lluashc" />
> > >            <property name="contextSource" ref="contextSource" />
> > > </bean>
> > >
> > > Is this the correct way to set it up?
> > >
> > > Is there any other configuration that I need to do over and beyond
> > > changing the deployerConfigContext.xml?  Thanks in advance for your
> > > assistance.
> > >
> > > Terrel
> > >
> > > _______________________________________________
> > > Yale CAS mailing list
> > > cas at tp.its.yale.edu
> > > http://tp.its.yale.edu/mailman/listinfo/cas
> > >
> > >
> > >
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> >
>
> _______________________________________________
> 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/20070105/a12b7e0a/attachment.html


More information about the cas mailing list