From f7036e50348484f4daf39f9e8457de602ab83939 Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Tue, 28 Aug 2007 15:54:13 +0000
Subject: [PATCH] Changes for replication security issues 511, 512, 608.

---
 opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java b/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
index 36fa680..e56b69c 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ProtocolSession.java
@@ -83,6 +83,17 @@
                          DataFormatException;
 
   /**
+   * Stop using the security layer, if there is any.
+   */
+  public abstract void stopEncryption();
+
+  /**
+   * Determine whether the session is using a security layer.
+   * @return true if the connection is encrypted, false otherwise.
+   */
+  public abstract boolean isEncrypted();
+
+  /**
    * Retrieve the IP address of the remote server.
    *
    * @return The IP address of the remote server.

--
Gitblit v1.10.0