阅读背景:

Spring Security , authenticate use LDAP& DataBase.

来源:互联网 
基础部分参见:
https://suene.iteye.com/blog/1829807


<authentication-manager> <authentication-provider ref="authenticationProvider" /> </authentication-manager> <beans:bean id="authenticationProvider" class="org.e.simple.authtication.LdapAndDbAuthenticationProvider"> <beans:property name="authenticateByLdap" value="false" /> <beans:property name="url" value="ldap://localhost:10389/dc=example,dc=com" /> <beans:property name="userSearchBase" value="ou=Users" /> <beans:property name="hash" value="{sha}" /> </beans:bean> <aut


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: