From 139c40de1bc595ccd4b8ca952da9e2a37bc8a18e Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 05 Nov 2008 13:22:43 +0000
Subject: [PATCH] These fixes add confidentiality/integrity to the SASL GSSAPI and DIGEST-MD5 mechanisms. The issue links:

---
 opends/src/server/org/opends/server/util/ServerConstants.java |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/util/ServerConstants.java b/opends/src/server/org/opends/server/util/ServerConstants.java
index 954c585..fdbe328 100644
--- a/opends/src/server/org/opends/server/util/ServerConstants.java
+++ b/opends/src/server/org/opends/server/util/ServerConstants.java
@@ -1873,6 +1873,12 @@
        "Kerberos Confidentiality";
 
 
+  /**
+   * The name of the default protocol used.
+   */
+  public static final String SASL_DEFAULT_PROTOCOL = "ldap";
+
+
 
   /**
    * The name of the security mechanism that will be used for connections
@@ -1934,6 +1940,33 @@
 
 
   /**
+   * The name of the security mechanism that will be used for connections whose
+   * communication only SASL authenticated.
+   */
+  public static final String SASL_MECHANISM_AUTHENTICATION_ONLY =
+       "none";
+
+
+
+  /**
+   * The name of the security mechanism that will be used for connections whose
+   * communication is protected using the confidentiality features SASL.
+   */
+  public static final String SASL_MECHANISM_CONFIDENTIALITY =
+       "confidentiality";
+
+
+
+  /**
+   * The name of the security mechanism that will be used for connections whose
+   * communication is verified using SASL integrity.
+   */
+  public static final String SASL_MECHANISM_INTEGRITY =
+       "integrity";
+
+
+
+  /**
    * The OID for the account usable request and response controls.
    */
   public static final String OID_ACCOUNT_USABLE_CONTROL =

--
Gitblit v1.10.0