We are using CAS 3.4.12 with Apache LDAP and able to authenticate 
successfully.

Now we would like to upgrade to CAS 4.0 with Apache LDAP. As per 
documentation available 
on http://jasig.github.io/cas/4.0.0/installation/LDAP-Authentication.html ,

We are getting several issues with sslConfig bean, ldap.trustedCert.

If we do not have ssl connection for ldap, is the following config 
necessary:

<bean id="connectionConfig" class="org.ldaptive.ConnectionConfig"
      p:ldapUrl="${ldap.url}"
      p:connectTimeout="${ldap.connectTimeout}"
      p:useStartTLS="${ldap.useStartTLS}"
      p:sslConfig-ref="sslConfig"/>
<bean id="sslConfig" class="org.ldaptive.ssl.SslConfig">
    <property name="credentialConfig">
        <bean class="org.ldaptive.ssl.X509CredentialConfig"
              p:trustCertificates="${ldap.trustedCert}" />
    </property></bean>


Also our ldap parameters were as following:


ldap.userDn=uid=admin,ou=People,o=organization
ldap.search.filter=uid=%u,ou=People,o=organization


ldap.host.name=ldap://as1.organization.com:389

ldap.manager.password=password12345


Do we need any changes in ldap.userDn, ldap.search.filter values for CAS 4.0?


If there is any guide/document related to CAS 4.0 with ldap setup, please 
provide reference url.


Thanks,

Sunil.






-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to