From 768ceeebae10433ceb05785354eda71fa886c7e5 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 06 Apr 2007 23:57:27 +0000
Subject: [PATCH] Update the code for processing the LDAP bind request protocol op so that it is not possible to alter the authentication type independently of setting the credentials.  This eliminates the possibility that the credentials could be out of sync with the authentication type.

---
 opends/src/server/org/opends/server/protocols/ldap/BindRequestProtocolOp.java |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/ldap/BindRequestProtocolOp.java b/opends/src/server/org/opends/server/protocols/ldap/BindRequestProtocolOp.java
index 933b3b0..24b10f6 100644
--- a/opends/src/server/org/opends/server/protocols/ldap/BindRequestProtocolOp.java
+++ b/opends/src/server/org/opends/server/protocols/ldap/BindRequestProtocolOp.java
@@ -54,9 +54,6 @@
 public class BindRequestProtocolOp
        extends ProtocolOp
 {
-
-
-
   // The bind DN for this request.
   private ASN1OctetString dn;
 
@@ -209,18 +206,6 @@
 
 
   /**
-   * Specifies the authentication type for this bind request.
-   *
-   * @param  authenticationType  The authentication type for this bind request.
-   */
-  public void setAuthenticationType(AuthenticationType authenticationType)
-  {
-    this.authenticationType = authenticationType;
-  }
-
-
-
-  /**
    * Retrieves the simple authentication password for this bind request.
    *
    * @return  The simple authentication password for this bind request, or

--
Gitblit v1.10.0