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

neil_a_wilson
07.39.2007 069dda19264fd479c0022e278c8095205443ca5e
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -102,6 +102,15 @@
public class InternalClientConnection
       extends ClientConnection
{
  /**
   * The protocol verison string that will be used for internal bind
   * operations.  Since this is modeled after LDAPv3 binds, it will
   * use a version number string of "3".
   */
  public static final String PROTOCOL_VERSION = "3";
  // The message ID counter to use for internal connections.
  private static AtomicInteger nextMessageID;
@@ -725,8 +734,8 @@
  {
    BindOperation bindOperation =
         new BindOperation(this, nextOperationID(), nextMessageID(),
                           new ArrayList<Control>(0), rawBindDN,
                           password);
                           new ArrayList<Control>(0),
                           PROTOCOL_VERSION, rawBindDN, password);
    bindOperation.setInternalOperation(true);
    bindOperation.run();
@@ -752,8 +761,8 @@
  {
    BindOperation bindOperation =
         new BindOperation(this, nextOperationID(), nextMessageID(),
                           new ArrayList<Control>(0), bindDN,
                           password);
                           new ArrayList<Control>(0),
                           PROTOCOL_VERSION, bindDN, password);
    bindOperation.setInternalOperation(true);
    bindOperation.run();
@@ -781,8 +790,9 @@
  {
    BindOperation bindOperation =
         new BindOperation(this, nextOperationID(), nextMessageID(),
                           new ArrayList<Control>(0), rawBindDN,
                           saslMechanism, saslCredentials);
                           new ArrayList<Control>(0),
                           PROTOCOL_VERSION, rawBindDN, saslMechanism,
                           saslCredentials);
    bindOperation.setInternalOperation(true);
    bindOperation.run();
@@ -810,8 +820,9 @@
  {
    BindOperation bindOperation =
         new BindOperation(this, nextOperationID(), nextMessageID(),
                           new ArrayList<Control>(0), bindDN,
                           saslMechanism, saslCredentials);
                           new ArrayList<Control>(0),
                           PROTOCOL_VERSION, bindDN, saslMechanism,
                           saslCredentials);
    bindOperation.setInternalOperation(true);
    bindOperation.run();