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
This commit is contained in:
Luke Butters 2019-01-09 09:19:21 +11:00 committed by Rob Winch
parent 2a867997e2
commit 0b40d09fe6
1 changed files with 6 additions and 2 deletions

View File

@ -15,12 +15,13 @@
*/
package org.springframework.security.ldap.server;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.io.File;
import java.io.IOException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.directory.server.core.DefaultDirectoryService;
@ -68,7 +69,10 @@ import org.springframework.util.Assert;
* @author Luke Taylor
* @author Rob Winch
* @author Gunnar Hillert
* @deprecated Use {@link UnboundIdContainer} instead because ApacheDS 1.x is no longer
* supported with no GA version to replace it.
*/
@Deprecated
public class ApacheDSContainer implements InitializingBean, DisposableBean, Lifecycle,
ApplicationContextAware {
private final Log logger = LogFactory.getLog(getClass());