[spring security] - Spring security LDAP configuration - Search approach

Simple XML

CN

1. Admin user

 Depends on your LDAP server settings. Some LDAP servers don't allow anonymous query, so you need an admin account to filter and retrieve the user information.

2. Parent directory DN

It can be empty, so authentication provider will search the whole directory server to find a fit user and it will take more time. If you specify the parent directory DN it will only search under this directory.



發佈了53 篇原創文章 · 獲贊 0 · 訪問量 7萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章