Skip to content

Commit 0b40d09

Browse files
Luke Buttersrwinch
authored andcommitted
Mark as ApacheDSContainer as deprecated
Mark ApacheDSContainer as deprecated because ApacheDS have not released a recent 'GA' version and the current 'GA' version does not work under JDK11. Fixes: gh-6002
1 parent 2a86799 commit 0b40d09

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ldap/src/main/java/org/springframework/security/ldap/server/ApacheDSContainer.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
*/
1616
package org.springframework.security.ldap.server;
1717

18-
import java.io.File;
19-
import java.io.IOException;
2018
import java.util.ArrayList;
2119
import java.util.Arrays;
2220
import java.util.List;
2321

22+
import java.io.File;
23+
import java.io.IOException;
24+
2425
import org.apache.commons.logging.Log;
2526
import org.apache.commons.logging.LogFactory;
2627
import org.apache.directory.server.core.DefaultDirectoryService;
@@ -68,7 +69,10 @@
6869
* @author Luke Taylor
6970
* @author Rob Winch
7071
* @author Gunnar Hillert
72+
* @deprecated Use {@link UnboundIdContainer} instead because ApacheDS 1.x is no longer
73+
* supported with no GA version to replace it.
7174
*/
75+
@Deprecated
7276
public class ApacheDSContainer implements InitializingBean, DisposableBean, Lifecycle,
7377
ApplicationContextAware {
7478
private final Log logger = LogFactory.getLog(getClass());

0 commit comments

Comments
 (0)