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

neil_a_wilson
29.32.2006 047e35b7d5035b191a808c6f3382e43758dee920
opends/src/server/org/opends/server/config/JMXMBean.java
@@ -1213,8 +1213,8 @@
  }
  /**
   * Get the client JMX connection to use. Returns null if an Exception is caught or if
   * the AccessControlContext subject is null.
   * Get the client JMX connection to use. Returns null if an Exception is
   * caught or if the AccessControlContext subject is null.
   *
   * @return The JmxClientConnection.
   */
@@ -1228,9 +1228,9 @@
          javax.security.auth.Subject subject = javax.security.auth.Subject
          .getSubject(acc);
          if(subject != null) {
              Set privateCreds = subject.getPrivateCredentials(Credential.class);
              jmxClientConnection = ((Credential) privateCreds
                      .iterator().next()).getClientConnection();
            Set privateCreds = subject.getPrivateCredentials(Credential.class);
            jmxClientConnection = ((Credential) privateCreds
                    .iterator().next()).getClientConnection();
          }
      }
      catch (Exception e) {}