From f3186148daf2a3fead3fdf20e92b7cb14464f74a Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Thu, 15 Mar 2007 18:50:44 +0000
Subject: [PATCH] Fix some more TODOs in the ACI.

---
 opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
index 8f50949..3d94604 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciEvalContext.java
@@ -110,12 +110,18 @@
     public String getHostName();
 
     /**
-     * Get the authentication method.
-     * @param wantSSL The authmethod bind rule needs the SSL client auth
-     * status.
-     * @return An Enumeration of the auth method bound as.
+     * Determine whether the client connection has been authenticated using
+     * a specified authentication method.  This method is used for the
+     * authmethod bind rule keyword.
+     *
+     * @param authMethod The required authentication method.
+     * @param saslMech The required SASL mechanism if the authentication method
+     * is SASL.
+     * @return An evaluation result indicating whether the client connection
+     * has been authenticated using the required authentication method.
      */
-    public EnumAuthMethod getAuthenticationMethod(boolean wantSSL);
+    public EnumEvalResult hasAuthenticationMethod(EnumAuthMethod authMethod,
+                                                  String saslMech);
 
     /**
      * Get the  address of the bound connection.

--
Gitblit v1.10.0