LDAP Migrations

以下步骤涉及如何配置 LDAP 组件和如何使用嵌入式 LDAP 服务器的变化。

The following steps relate to changes around how to configure the LDAP components and how to use an embedded LDAP server.

Use UnboundId instead of ApacheDS

ApacheDS 在相当长的一段时间内没有 GA 版本,Spring Security 中的类已 deprecated in version 5.2。因此,ApacheDS 的支持将在 7.0 版中停止。

ApacheDS has not had a GA release for a considerable period, and its classes in Spring Security were deprecated in version 5.2. Consequently, support for ApacheDS will be discontinued in version 7.0.

如果您当前使用 ApacheDS 作为嵌入式 LDAP 服务器,我们建议您迁移到 UnboundId。您可以在 this section 中找到说明,其中描述了如何设置嵌入的 UnboundId LDAP 服务器。

If you are currently using ApacheDS as an embedded LDAP server, we recommend migrating to UnboundId. You can find instructions in this section that describe how to set up an embedded UnboundId LDAP server.