From d048be119faafbb9d83bb2f0f8995d6070b16d52 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Mon, 01 Dec 2008 19:16:36 +0000
Subject: [PATCH] These changes implement a new ACI bind rule keyword "ssf". This keyword allows users to control the level of access based on the security level of the connection.
---
opends/src/server/org/opends/server/extensions/SASLSecurityProvider.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/extensions/SASLSecurityProvider.java b/opends/src/server/org/opends/server/extensions/SASLSecurityProvider.java
index 0ee7e0c..64a64b7 100644
--- a/opends/src/server/org/opends/server/extensions/SASLSecurityProvider.java
+++ b/opends/src/server/org/opends/server/extensions/SASLSecurityProvider.java
@@ -454,4 +454,14 @@
public boolean isActive() {
return saslContext.isBindComplete();
}
+
+ /**
+ * Return the cipher Security Strength Function of the cipher used in the
+ * SSAL context.
+ *
+ * @return The cipher SSF of the cipher used in the SASL context.
+ */
+ public int getSSF() {
+ return saslContext.getSSF();
+ }
}
--
Gitblit v1.10.0