Hi,

Does anyone know if and why the LDAP Requiring Authenticated Search for Active 
Directory Authentication config in the link below requires the 
authenticationManager bean? I updated my deployerConfigContext.xml file with 
that config and then run mvn package install in the cas-server-webapp directory 
but because it does not mention the authenticationManager I don't include. 
However, when I rebuild the war file the applicationContext.xml is looking for 
reference to the authenticationManager.



http://jasig.github.io/cas/4.1.x/installation/LDAP-Authentication.html

[http://jasig.github.io/cas/images/cas_logo.png]<http://jasig.github.io/cas/4.1.x/installation/LDAP-Authentication.html>

CAS - LDAP Authentication
The above configuration defines a map of attribtues. Keys are LDAP attribute 
names and values are CAS attribute names which allow you to optionally, 
retrieve a given ...
Read 
more...<http://jasig.github.io/cas/4.1.x/installation/LDAP-Authentication.html>






<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:p="http://www.springframework.org/schema/p";
  xmlns:c="http://www.springframework.org/schema/c";
  xmlns:util="http://www.springframework.org/schema/util";
       xmlns:context="http://www.springframework.org/schema/context";
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context.xsd
  http://www.springframework.org/schema/util 
http://www.springframework.org/schema/util/spring-util.xsd";>


     <context:component-scan base-package="org.jasig.cas" />
     <context:annotation-config/>

  <!--<bean id="authenticationManager" 
class="org.jasig.cas.authentication.PolicyBasedAuthenticationManager">
<constructor-arg>
<map>
<entry key-ref="ldapAuthenticationHandler" value="#{null}"/>
</map>
</constructor-arg>
</bean> -->

<bean id="ldapAuthenticationHandler"
      class="org.jasig.cas.authentication.LdapAuthenticationHandler"
      p:principalIdAttribute="sAMAccountName"
      c:authenticator-ref="authenticator">
    <property name="principalAttributeMap">
        <map>
            <!--
               | This map provides a simple attribute resolution mechanism.
               | Keys are LDAP attribute names, values are CAS attribute names.
               | Use this facility instead of a PrincipalResolver if LDAP is
               | the only attribute source.
               -->
            <entry key="member" value="member" />
            <entry key="mail" value="mail" />
            <entry key="displayName" value="displayName" />
        </map>
    </property>
</bean>
[cid:0cb26bb4-42fc-49f3-932b-b79a594b2593]




Thank you for your time.

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to