Spring Security and multiple LDAP -


i have scenario have connect multiple ldaps, each 1 different country. if user tries login, have verify whether user setup in of ldap, can authenicated , granted access roles defined ldap. possible spring security framework?

yes can authenticate against multiple ldap servers. if want try each ldap instance, can this:

<ldap-server id="exampleldap" url="ldap://example.org:389/dc=springframework,dc=org" /> <ldap-server id="springldap" url="ldap://springframework.org:389/dc=springframework,dc=org" />  <authentication-manager>     <ldap-authentication-provider user-search-filter="(uid={0})"        user-search-base="ou=people"        server-ref="exampleldap"/>     <ldap-authentication-provider user-search-filter="(uid={0})"        user-search-base="ou=people"        server-ref="springldap"/> </authentication-manager> 

Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -