mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
03.41.2014 e003b4333d38d5a1254d020425fda6f62465e3d0
opendj3-server-dev/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java
@@ -184,13 +184,13 @@
   */
  private LinkedHashSet<Argument> argList = null;
  // the trust manager.
  /** The trust manager. */
  private ApplicationTrustManager trustManager;
  private boolean configurationInitialized = false;
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
  // Defines if the CLI always use the SSL connection type.
  /** Defines if the CLI always use the SSL connection type. */
  private boolean alwaysSSL = false;
  /**
@@ -297,7 +297,7 @@
    if (clearArg.isPresent())
    {
      String bindPasswordValue = clearArg.getValue();
      if(bindPasswordValue != null && bindPasswordValue.equals("-"))
      if(bindPasswordValue != null && "-".equals(bindPasswordValue))
      {
        // read the password from the stdin.
        try
@@ -665,7 +665,7 @@
   */
  public boolean useSSL()
  {
    return (useSSLArg.isPresent() || alwaysSSL());
    return useSSLArg.isPresent() || alwaysSSL();
  }
  /**