<bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">  
             <property name="filter" value="uid=%u" />  
     <property name="searchBase" value="。" />  
             <property name="contextSource" ref="contextSource" />  
</bean> 
如果需要使用自己的加密方法,如何添加相应的配置?指定哪个属性。

解决方案 »

  1.   

    <bean
    class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
    <property name="filter" value="uid=%u" />
    <property name="searchBase" value="ou=users,o=tcl,c=cn" />  
    <property name="contextSource" ref="contextSource" />
    </bean>
    </list>
    </property>
    </bean>
      

  2.   

    即便配置了passwordEncoder属性也不起作用。为什么????????、
      

  3.   

    http://www.2cto.com/Article/201108/101556.html
    去看看或许能帮助你