From 455897cc245b67d929f409a93cfa7106e835cc1f Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 01 Mar 2007 03:27:06 +0000
Subject: [PATCH] This removes old debug logging framework method calls that are going to be automatically instrumented by AspectJ. Non instrumented debug method calls are updated to use the new debug framework methods. However, the new debug logging framework is not yet active as the Aspects are not weaved in. After this revision, debug logging will be disabled in the server until the new AOP framework is complete.
---
opends/src/server/org/opends/server/extensions/WhoAmIExtendedOperation.java | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/opends/src/server/org/opends/server/extensions/WhoAmIExtendedOperation.java b/opends/src/server/org/opends/server/extensions/WhoAmIExtendedOperation.java
index 4008e88..5ebdf9c 100644
--- a/opends/src/server/org/opends/server/extensions/WhoAmIExtendedOperation.java
+++ b/opends/src/server/org/opends/server/extensions/WhoAmIExtendedOperation.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Portions Copyright 2006 Sun Microsystems, Inc.
+ * Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
package org.opends.server.extensions;
@@ -39,7 +39,6 @@
import org.opends.server.types.InitializationException;
import org.opends.server.types.ResultCode;
-import static org.opends.server.loggers.Debug.*;
import static org.opends.server.messages.ExtensionsMessages.*;
import static org.opends.server.messages.MessageHandler.*;
import static org.opends.server.util.ServerConstants.*;
@@ -53,11 +52,6 @@
public class WhoAmIExtendedOperation
extends ExtendedOperationHandler
{
- /**
- * The fully-qualified name of this class for debugging purposes.
- */
- private static final String CLASS_NAME =
- "org.opends.server.extensions.WhoAmIExtendedOperation";
@@ -70,7 +64,6 @@
{
super();
- assert debugConstructor(CLASS_NAME);
}
@@ -95,8 +88,6 @@
public void initializeExtendedOperationHandler(ConfigEntry configEntry)
throws ConfigException, InitializationException
{
- assert debugEnter(CLASS_NAME, "initializeExtendedOperationHandler",
- String.valueOf(configEntry));
// No special configuration is required.
@@ -111,7 +102,6 @@
*/
public void finalizeExtendedOperationHandler()
{
- assert debugEnter(CLASS_NAME, "finalizeExtendedOperationHandler");
DirectoryServer.deregisterSupportedExtension(OID_WHO_AM_I_REQUEST);
}
@@ -125,8 +115,6 @@
*/
public void processExtendedOperation(ExtendedOperation operation)
{
- assert debugEnter(CLASS_NAME, "processExtendedOperation",
- String.valueOf(operation));
// Get the client connection and determine the DN of the user associated
@@ -142,7 +130,6 @@
return;
}
-
// Get the auth info from the client connection.
AuthenticationInfo authInfo = clientConnection.getAuthenticationInfo();
if ((authInfo == null) || (authInfo.getAuthenticationDN() == null))
@@ -154,7 +141,6 @@
return;
}
-
// Get the DN of the authenticated user and put that in the response.
// FIXME -- Do we need to support the use of an authorization ID that is
// different from the authentication ID?
--
Gitblit v1.10.0