From c959146d66becd1bc0fe233668ef353452085dc3 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 07 Apr 2014 12:09:23 +0000
Subject: [PATCH] Checkpoint for OPENDJ-1303 "opendj-cli" - Fixed isDN function. - LDAPManagementContextFactory.java :removed the unused alwaysSSL var. - LDAPConnectionConsoleInteraction.java :    -- removed unused parameter canUseSSL.   -- modified the cannotReadConnectionParameters => more clearer. (thanks to JN) N.B This LDAPConnectionConsoleInteraction class will disapear as soon as the SDK will provide the same 'prompt' capabilities. (and also because the code is absolutely unmaintainable and redundant.)

---
 opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/DSConfig.java |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/DSConfig.java b/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/DSConfig.java
index 7584449..4e482bf 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/DSConfig.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/DSConfig.java
@@ -292,9 +292,6 @@
    */
   public static final String GENERIC_TYPE = "generic";
 
-  /** This CLI is always using the administration connector with SSL. */
-  private static final boolean alwaysSSL = true;
-
   private long sessionStartTime;
   private boolean sessionStartTimePrinted = false;
   private int sessionEquivalentOperationNumber = 0;
@@ -336,7 +333,7 @@
     JDKLogging.disableLogging();
     DSConfig app =
         new DSConfig(System.in, outStream, errStream,
-            new LDAPManagementContextFactory(alwaysSSL));
+            new LDAPManagementContextFactory());
     app.sessionStartTime = System.currentTimeMillis();
     /*
      * FIXME: obtain path info from system properties.

--
Gitblit v1.10.0