在本章中,我们将回顾 轻量级目录访问协议 (LDAP),并了解如何将它集成到启用 Spring Security 的应用程序中以提供身份验证、授权和为感兴趣的成分提供用户信息服务。
在本章的课程中,我们将讨论以下主题:
- Learning some of the basic concepts related to the LDAP protocol and server implementations
- Configuring a self-contained LDAP server within Spring Security
- Enabling LDAP authentication and authorization
- Understanding the model behind LDAP search and user matching
- Retrieving additional user details from standard LDAP structures
- Differentiating between LDAP authentication methods and evaluating the pros and cons of each type
- Explicitly configuring Spring Security LDAP using Spring bean declarations
- Connecting to external LDAP directories
- Exploring the built-in support for Microsoft AD
- We will also explore how to customize Spring Security for more flexibility when dealing with custom AD deployments