Hello,

I'm trying to configure the
org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler bean inside
deployerConfigContext.xml.

- Does the BindLdapAuthenticationHandler bean perform a search over the
sub-trees or just the root? If the root, how can we set it to search in the
whole directory? Is there a doc available on the
org.jasig.cas.adaptors.ldap.* classes?

- How can we configure the contextSource bean to provide the full path of
the bind user?

Here is what I have:

<bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
     <property name="filter" value="uid=%u" />
     <property name="searchBase" value="ou=speciaux,dc=ensieta,dc=ecole" />
     <property name="contextSource" ref="contextSource" />
</bean>
.../...
 <bean id="contextSource"
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
  <property name="authenticatedReadOnly" value="true" />
  <property name="userName" value="binduser" />
  <property name="password" value="pwd" />
  <property name="pooled" value="true" />
  <property name="urls">
   <list>
    <value>ldaps://boulez.ensieta.ecole/</value>
    <value>ldaps://bruckner.ensieta.ecole/</value>
   </list>
  </property>
  <property name="baseEnvironmentProperties">
   <map>
    <entry>
            <key><value>java.naming.security.protocol</value></key>
            <value>ssl</value>
           </entry>
    <entry>
            <key><value>java.naming.security.authentication</value></key>
            <value>simple</value>
           </entry>
          </map>
  </property>
 </bean>

----

Thanks for your help,
Laurent

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to