From 90a85f0fed34b0a7d6db93022074a39a17ad27b7 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Fri, 24 Apr 2009 17:05:14 +0000
Subject: [PATCH] Fix for issue where unit tests hang when the startTLS extended operation is used.

---
 opends/src/server/org/opends/server/extensions/TLSCapableConnection.java |   37 +------------------------------------
 1 files changed, 1 insertions(+), 36 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/TLSCapableConnection.java b/opends/src/server/org/opends/server/extensions/TLSCapableConnection.java
index c53ade0..9b942a0 100644
--- a/opends/src/server/org/opends/server/extensions/TLSCapableConnection.java
+++ b/opends/src/server/org/opends/server/extensions/TLSCapableConnection.java
@@ -22,16 +22,12 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Copyright 2006-2009 Sun Microsystems, Inc.
  */
 package org.opends.server.extensions;
 import org.opends.messages.MessageBuilder;
 
 
-import org.opends.server.types.DirectoryException;
-import org.opends.server.types.Operation;
-
-
 
 /**
  * This interface defines a set of methods that must be implemented by a class
@@ -56,36 +52,5 @@
    *          connection, or <CODE>false</CODE> if it is not.
    */
   public boolean isTLSAvailable(MessageBuilder unavailableReason);
-
-
-
-  /**
-   * Installs the TLS connection security provider on this client connection.
-   * If an error occurs in the process, then the underlying client connection
-   * must be terminated and an exception must be thrown to indicate the
-   * underlying cause.
-   *
-   * @throws  DirectoryException  If the TLS connection security provider could
-   *                              not be enabled and the underlying connection
-   *                              has been closed.
-   */
-  public void enableTLS()
-         throws DirectoryException;
-
-
-  /**
-   * Sends a response to the client in the clear rather than through the
-   * encrypted channel.  This should only be used when processing the StartTLS
-   * extended operation to send the response in the clear after the SSL
-   * negotiation has already been initiated.
-   *
-   * @param  operation  The operation for which to send the response in the
-   *                    clear.
-   *
-   * @throws  DirectoryException  If a problem occurs while sending the response
-   *                              in the clear.
-   */
-  public void sendClearResponse(Operation operation)
-         throws DirectoryException;
 }
 

--
Gitblit v1.10.0