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
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to