From 069dda19264fd479c0022e278c8095205443ca5e Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 06 Apr 2007 23:39:26 +0000
Subject: [PATCH] Update the bind operation so that it provides access to the protocol version. Note that the protocol version is formatted as a string, because it may not necessarily always be purely numeric.

---
 opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/RmiAuthenticator.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/RmiAuthenticator.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/RmiAuthenticator.java
index e3f9316..521dbd8 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/RmiAuthenticator.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/RmiAuthenticator.java
@@ -258,9 +258,10 @@
         jmxConnectionHandler, authInfo);
 
     BindOperation bindOp = new BindOperation(jmxClientConnection,
-        jmxClientConnection.nextOperationID(), jmxClientConnection
-            .nextMessageID(), requestControls, new ASN1OctetString(authcID),
-        bindPW);
+        jmxClientConnection.nextOperationID(),
+        jmxClientConnection.nextMessageID(), requestControls,
+        jmxConnectionHandler.getRMIConnector().getProtocolVersion(),
+        new ASN1OctetString(authcID), bindPW);
 
     bindOp.run();
     if (bindOp.getResultCode() == ResultCode.SUCCESS)

--
Gitblit v1.10.0