authenticationProcessingFilter就可以

解决方案 »

  1.   

    initialDirContextFactory你这不是配置ldap连接工厂了吗?
    把里边的连接url改成你的apacheDS就行了。
      

  2.   

    把里边的连接url改成你的apacheDS就行了。================================================================您指的是把哪个Url?这个:
    ldap://localhost:10389/ou=system,dc=example,dc=com
      

  3.   

    已经解决:在applicationContext-acegi-security.xml加上<bean id="passwordEncoder" class="org.acegisecurity.providers.ldap.authenticator.LdapShaPasswordEncoder"/>因为LDAP里面保存的密码是经过加密的,必须指定加密的方式后,才进行匹配.
      

  4.   

    一般不都是md5 或者sha么另外authenticationProcessingFilter
    在里面配置url不行?