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

lutoff
06.24.2007 f3e3cc3a3ee4086856eb2336e21cd8fb62dcc0a3
fix for entity truststore (interactive mode)
1 files modified
12 ■■■■ changed files
opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java 12 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
@@ -660,7 +660,11 @@
          String ninput = input.trim();
          if (ninput.length() == 0)
          {
            return ninput;
            app.println();
            app.println(ERR_DSCFG_PROMPT_SECURITY_INVALID_FILE_PATH
                .get());
            app.println();
            return null;
          }
          File f = new File(ninput);
          if (f.exists() && f.canRead() && !f.isDirectory())
@@ -702,11 +706,7 @@
      truststorePassword = secureArgsList.trustStorePasswordFileArg
          .getValue();
    }
    if (truststorePassword ==  null)
    {
      return null;
    }
    else if (truststorePassword.equals("-"))
    if ((truststorePassword !=  null) && (truststorePassword.equals("-")))
    {
      // Read the password from the stdin.
      if (!app.isInteractive())