From b11994cc0136fc9f14949fdd3316ce032861f852 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 06 Jun 2007 22:54:32 +0000
Subject: [PATCH] Update the server to provide better interoperability with the Penrose virtual directory.  In particular, this commit exposes the LDAPClientConnection.sendLDAPMessage() method, and fixes a case in which short-circuiting out of the add operation processing in the pre-parse code with a success response could have resulted in a null pointer exception.

---
 opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java
index 2a1ba16..802cb00 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java
@@ -842,12 +842,12 @@
   /**
    * Sends the provided LDAP message to the client.
    *
-   * @param  securityProvider  The connection security provider to use to
-   *                           handle any necessary security translation.
-   * @param  message           The LDAP message to send to the client.
+   * @param  secProvider  The connection security provider to use to handle any
+   *                      necessary security translation.
+   * @param  message      The LDAP message to send to the client.
    */
-  private void sendLDAPMessage(ConnectionSecurityProvider secProvider,
-                               LDAPMessage message)
+  public void sendLDAPMessage(ConnectionSecurityProvider secProvider,
+                              LDAPMessage message)
   {
     ASN1Element messageElement = message.encode();
 

--
Gitblit v1.10.0