Ooh...whoops.  Where is that sample XML file?  In the distribution? If so
can you create a JIRA issue so we can fix that so we don't confuse more
people ;-).  The older version of LDAPTemplate had that property name.

-Scott

On 10/4/07, Adam Rybicki <[EMAIL PROTECTED]> wrote:
>
>  Ahh!  That's what I was missing.  What misled me was the sample
> deployerConfigContext.xml file that called that property
> "authenticatedReadOnly."  Of course a property by that name is not supported
> by org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource, so I
> had is commented-out.
>
> Thanks!
>
> Adam
>
> Scott Battaglia wrote:
>
> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
> > >
> > >  … Check for the connection type for your LDAP and set the correct
> > > authentication handler with the correct settings.
> > >
> > >
> > >
> > > *From:* [EMAIL PROTECTED] [mailto:
> > > [EMAIL PROTECTED] *On Behalf Of *Fluhr, Tim
> > > *Sent:* Thursday, October 04, 2007 2:28 PM
> > > *To:* [email protected]
> > > *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
> > > [email protected]
> > > http://tp.its.yale.edu/mailman/listinfo/cas
> > >
> > >
> >
> >
> > --
> > -Scott Battaglia
> >
> > LinkedIn: http://www.linkedin.com/in/scottbattaglia
> >
> > ------------------------------
> >
> > _______________________________________________
> > Yale CAS mailing list
> >
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> >
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> ------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>


-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to