From 22094368c2865dcfb6daf8366425212b721a4657 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Thu, 05 Feb 2009 17:42:14 +0000
Subject: [PATCH] Merge ASN1 branch to trunk

---
 opends/src/server/org/opends/server/api/ClientConnection.java |   48 ++++++++----------------------------------------
 1 files changed, 8 insertions(+), 40 deletions(-)

diff --git a/opends/src/server/org/opends/server/api/ClientConnection.java b/opends/src/server/org/opends/server/api/ClientConnection.java
index e7d4e34..2dc2816 100644
--- a/opends/src/server/org/opends/server/api/ClientConnection.java
+++ b/opends/src/server/org/opends/server/api/ClientConnection.java
@@ -448,45 +448,6 @@
   public abstract boolean isSecure();
 
 
-
-  /**
-   * Retrieves the connection security provider for this client
-   * connection.
-   *
-   * @return  The connection security provider for this client
-   *          connection.
-   */
-  public abstract ConnectionSecurityProvider
-                       getConnectionSecurityProvider();
-
-
-
-  /**
-   * Specifies the connection security provider for this client
-   * connection.
-   *
-   * @param  securityProvider  The connection security provider to use
-   *                           for communication on this client
-   *                           connection.
-   */
-  public abstract void setConnectionSecurityProvider(
-                            ConnectionSecurityProvider
-                                 securityProvider);
-
-
-
-  /**
-   * Retrieves the human-readable name of the security mechanism that
-   * is used to protect communication with this client.
-   *
-   * @return  The human-readable name of the security mechanism that
-   *          is used to protect communication with this client, or
-   *          {@code null} if no security is in place.
-   */
-  public abstract String getSecurityMechanism();
-
-
-
   /**
    * Retrieves a {@code Selector} that may be used to ensure that
    * write  operations complete in a timely manner, or terminate the
@@ -1333,7 +1294,7 @@
       {
         for (AttributeValue v : a)
         {
-          String privName = toLowerCase(v.getStringValue());
+          String privName = toLowerCase(v.getValue().toString());
 
           // If the name of the privilege is prefixed with a minus
           // sign, then we will take away that privilege from the
@@ -1836,5 +1797,12 @@
   {
     return 0L;
   }
+
+  /**
+   * Return the Security Strength Factor of a client connection.
+   *
+   * @return An integer representing the SSF value of a connection.
+   */
+  public abstract int getSSF();
 }
 

--
Gitblit v1.10.0