The following is my deployerConfigContext.xml file:
-------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC  "-//SPRING//DTD BEAN//EN" 
"http://www.springframework.org/dtd/spring-beans.dtd";>
<beans>
 <bean id="authenticationManager"
  class="org.jasig.cas.authentication.AuthenticationManagerImpl">
  <property name="credentialsToPrincipalResolvers">
   <list>
    <bean
     
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver"
 
/>
    <bean
     
class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver"
 
/>
   </list>
  </property>
  <property name="authenticationHandlers">
   <list>
    <bean
     
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler"
 
/>
    <bean
     class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler" >
                                 <property name="filter" value="uid=%u" />
                                 <property name="searchBase" 
value="ou=people,dc=virtual,dc=ryerson,dc=edu" />
                                 <property name="contextSource" 
ref="contextSource" />
    </bean>
   </list>
  </property>
 </bean>

 <bean id="contextSource" 
class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
                 <property name="authenticatedReadOnly" value="true" />
                 <property name="userName" value="cn=Manager" />
                 <property name="password" value="secret" />
                 <property name="urls">
                         <list>
                                 <value>ldap://ldap.virtual.ryerson.edu/</value>
                         </list>
                 </property>
                 <property name="baseEnvironmentProperties">
                         <map>
                                 <entry>
                                         
<key><value>java.naming.security.authentication</value></key>
                                         <value>simple</value>
                                 </entry>
                        </map>
                </property>
 </bean>
</beans>
-------------------------------------------
Thank you.

Jeff 



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

Reply via email to