LDAP integration

Scott Battaglia scott.battaglia at gmail.com
Fri Apr 27 08:28:21 EDT 2007


You can try turning up the debug level in the log4j properties for
org.springframework.ldap. That should give you some information.

I'm not especially familiar with LDAP.  All I can do is point you to our
sample file:
http://developer.ja-sig.org/source/browse/jasig/cas3/adaptors/ldap/src/main/resources/deployerConfigContext.xml?r=1.1

Someone else may be able to provide more assistance.

-Scott

On 4/26/07, Dmitry Kochelaev <dkochelaev at gmail.com> wrote:
>
> Hello,
>
> I've installed CAS on my Tomcat and tested it with default
> Authentication Handler. It worked. Then I tried to configure it to use
> my Apache Directory server. A do not get any error messages in log,
> however, I'm not able to be authenticated.
>
> In LDAP I've following tree structure:
> com->example->dkochelaev (this node has uid=dkochelaev)
>
> My CAS config (deployerConfigContext.xml) is created as described in
> manual, so the part i've modified is:
>         <property name="authenticationHandlers">
>             <list>
>                 <bean
>
> class="
> org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler
> "
> />
>
>                 <bean
>
> class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler"
> >
>                         <property name="filter" value="uid=%u" />
>                         <property name="contextSource" ref="contextSource"
> />
>                 </bean>
>
>             </list>
>         </property>
>     </bean>
>     <bean id="contextSource"
> class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
>         <property name="anonymousReadOnly" value="false" />
>         <property name="userName" value="admin" />
>         <property name="password" value="secret" />
>         <property name="urls">
>             <list>
>                 <value>ldaps://localhost:10389</value>
>             </list>
>         </property>
>
>         <property name="baseEnvironmentProperties">
>             <map>
>                 <entry>
>
> <key><value>java.naming.security.authentication</value></key>
>                         <value>simple</value>
>                 </entry>
>             </map>
>         </property>
>     </bean>
>
>
> One more thing that disturbs me is that when I change urls to
> something like "bla-bla-bla" I also don't get any error messages. What
> can be the root of the problem?
>
> --
> Dmitry Kochelaev
> _______________________________________________
> 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/20070427/29239f2e/attachment.html 


More information about the cas mailing list