From c12b7981c5b90668988e3eaedcccaa1ae2309263 Mon Sep 17 00:00:00 2001
From: fguigues <fguigues@localhost>
Date: Tue, 18 Mar 2008 17:22:25 +0000
Subject: [PATCH] * Fix for Issue 218 : Monitor Information Available via SNMP * Update the nbproject to include the snmp source code

---
 opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/Credential.java |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/Credential.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/Credential.java
index 0028049..973b964 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/Credential.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/Credential.java
@@ -26,6 +26,8 @@
  */
 package org.opends.server.protocols.jmx;
 
+import org.opends.server.api.ClientConnection;
+
 
 /**
  * Represents a Ldap credential used for JMX connection authentication.
@@ -41,28 +43,28 @@
   /**
    * The Client connection to be used.
    */
-  private JmxClientConnection jmxClientConnection;
+  private ClientConnection clientConnection;
 
 
   /**
    * Default Constructor.
    *
-   * @param jmxClientConnection
+   * @param clientConnection
    *           The  representation of this credential is a Jmx Client connection
    * that will handle incoming requests.
    */
-  public Credential(JmxClientConnection jmxClientConnection)
+  public Credential(ClientConnection clientConnection)
   {
-    this.jmxClientConnection = jmxClientConnection;
+    this.clientConnection = clientConnection;
   }
 
   /**
    * Returns the associated Client connection.
    *
-   * @return the associated JmxClientConnection object. Can be null
+   * @return the associated ClientConnection object. Can be null
    */
-  public JmxClientConnection getClientConnection()
+  public ClientConnection getClientConnection()
   {
-    return jmxClientConnection;
+    return clientConnection;
   }
 }

--
Gitblit v1.10.0