From 7a6f98492aaeacd4e5a795adc71b75edbc1d126a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 30 Nov 2006 21:50:39 +0000
Subject: [PATCH] Update the extended operation handler API to provide the ability for custom extended operations to handle their own controls.  The password modify extended operation has been updated to support the LDAP no-op control and the password policy control.

---
 opends/src/server/org/opends/server/messages/CoreMessages.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index 0a2a77a..b497d0a 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -5956,6 +5956,17 @@
 
 
   /**
+   * The message ID for the message that will be used if an extended operation
+   * cannot be processed because it contains an unsupported critical control.
+   * This takes two arguments, which are the OID of the extended request and the
+   * OID of the unsupported control.
+   */
+  public static final int MSGID_EXTENDED_UNSUPPORTED_CRITICAL_CONTROL =
+       CATEGORY_MASK_CORE | SEVERITY_MASK_MILD_ERROR | 570;
+
+
+
+  /**
    * Associates a set of generic messages with the message IDs defined
    * in this class.
    */
@@ -7198,6 +7209,10 @@
                     "There is no extended operation handler registered with " +
                     "the Directory Server for handling extended operations " +
                     "with a request OID of %s.");
+    registerMessage(MSGID_EXTENDED_UNSUPPORTED_CRITICAL_CONTROL,
+                    "Unable to process the request for extended operation %s " +
+                    "because it contained an unsupported critical control " +
+                    "with OID %s.");
 
 
     registerMessage(MSGID_CONNHANDLER_CLOSED_BY_SHUTDOWN,

--
Gitblit v1.10.0