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

Patrick Diligent
23.16.2015 9066892d29000b912b1d83483719fc4d85dee0d8
opendj-server-legacy/src/main/java/org/opends/server/protocols/jmx/OpendsJmxConnector.java
@@ -159,18 +159,6 @@
   */
  public void connect(Map<String,?> env) throws IOException, SecurityException
  {
    // set the real target hostname
    DirectoryRMIClientSocketFactory.setServerHostname(serverHostname);
    // configure the thread-local connection environment
    if (env != null)
    {
      // encode credentials if necessary
      updateCredentials(env);
    }
    DirectoryRMIClientSocketFactory.setConnectionEnv(environment);
    jmxc.connect(env);
  }