CAS and LDAP configuration questions
Scott Battaglia
scott.battaglia at gmail.com
Thu Oct 4 16:01:36 EDT 2007
Adam,
You should just be able to set the "anonymousReadOnly" property to true and
not provide the username/password to the ContextSource.
-Scott
On 10/4/07, Adam Rybicki <arybicki at unicon.net> wrote:
>
> Scott,
>
> I am trying to get the same thing accomplished (LDAP authentication) , but
> I don't need to do the LDAP search using an authenticated LDAP user.
> Substituting for Spring's
> org.springframework.ldap.support.LdapContextSource won't work because
> org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHandlerassumes that I am using the
> org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource. Is there
> another way to get this working with an anonymous LDAP search?
>
> Thanks,
>
> Adam
>
> Scott Battaglia wrote:
>
> This may help:
> http://www.ja-sig.org/wiki/display/CASUM/LDAP
>
> -Scott
>
> On 10/4/07, Richard Kheir <richard.kheir at villanova.edu> wrote:
> >
> > … Check for the connection type for your LDAP and set the correct
> > authentication handler with the correct settings.
> >
> >
> >
> > *From:* cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu]
> > *On Behalf Of *Fluhr, Tim
> > *Sent:* Thursday, October 04, 2007 2:28 PM
> > *To:* cas at tp.its.yale.edu
> > *Subject:* CAS and LDAP configuration questions
> >
> >
> >
> > Hello all.
> >
> >
> >
> > I'm trying to get CAS to authenticate against my LDAP but I think I am
> > missing something. I am able to authenticate using the NetID=password
> > method without any problems. I am not able to, however, authenticate using
> > any valid LDAP credentials. I get the following errors...
> >
> >
> >
> > The credentials you provided cannot be determined to be authentic.
> >
> >
> >
> > and from catalina.out...
> >
> >
> >
> > 2007-10-04 13:24:15,248 INFO [
> > org.jasig.cas.authentication.AuthenticationManagerImpl] -
> > <AuthenticationHandler:
> > org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandlerfailed to authenticate the user which provided the following credentials:
> > drupal>
> >
> >
> >
> > Do I have to create a cas.war in the cas-server-support-ldap directory
> > and then move it to webapps? This is where I am stuck. Any help would be
> > appreciated.
> >
> >
> > Thanks.
> >
> >
> >
> > -tim
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> ------------------------------
>
> _______________________________________________
> 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
>
>
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071004/df1709ca/attachment.html
More information about the cas
mailing list