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

Jean-Noël Rouvignac
12.26.2016 d915b1318351be440667daf4f19bb03103b75361
opendj-server-legacy/src/main/java/org/opends/quicksetup/util/ServerController.java
@@ -444,7 +444,7 @@
    // See if the application has prompted for credentials.  If
    // not we'll just try to connect anonymously.
    String userDn = null;
    DN userDn = null;
    String userPw = null;
    if (application != null) {
      userDn = application.getUserData().getDirectoryManagerDn();
@@ -467,7 +467,7 @@
          timeout = application.getUserData().getConnectTimeout();
        }
        try (ConnectionWrapper conn =
            new ConnectionWrapper(ldapUrl, Type.LDAPS, DN.valueOf(userDn), userPw, timeout, null))
            new ConnectionWrapper(ldapUrl, Type.LDAPS, userDn, userPw, timeout, null))
        {
          return;
        }