This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Security 6.4.1!

LDAP Migrations

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 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.

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.