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

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.spring-doc.cn

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.spring-doc.cn