From abf2b98003c52deb2319cfd64a6e280531e84324 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 14 Aug 2006 13:33:54 +0000
Subject: [PATCH] Make a few changes in the area of account status notifications:

---
 opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java b/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
index ec48c6e..c221c07 100644
--- a/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
+++ b/opends/src/server/org/opends/server/api/AccountStatusNotificationHandler.java
@@ -33,6 +33,7 @@
 import org.opends.server.core.InitializationException;
 import org.opends.server.types.AccountStatusNotification;
 import org.opends.server.types.AccountStatusNotificationType;
+import org.opends.server.types.DN;
 
 import static org.opends.server.loggers.Debug.*;
 
@@ -99,6 +100,8 @@
    *
    * @param  notificationType  The type for this account status
    *                           notification.
+   * @param  userDN            The DN of the user entry to which this
+   *                           notification applies.
    * @param  messageID         The unique ID for this notification.
    * @param  message           The human-readable message for this
    *                           notification.
@@ -106,7 +109,7 @@
   public abstract void
        handleStatusNotification(
             AccountStatusNotificationType notificationType,
-            int messageID, String message);
+            DN userDN, int messageID, String message);
 
 
 
@@ -124,6 +127,7 @@
                       String.valueOf(notification));
 
     handleStatusNotification(notification.getNotificationType(),
+                             notification.getUserDN(),
                              notification.getMessageID(),
                              notification.getMessage());
   }

--
Gitblit v1.10.0