From e433824f46514e6ed863eb6b95c70038331c8c24 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Tue, 24 Nov 2015 12:49:54 +0000
Subject: [PATCH] OPENDJ-2260 OPENDJ-2271 Integration of common audit into the server

---
 opendj-server-legacy/src/snmp/src/org/opends/server/snmp/SNMPConnectionHandler.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/SNMPConnectionHandler.java b/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/SNMPConnectionHandler.java
index 612fbf0..01ae2f6 100644
--- a/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/SNMPConnectionHandler.java
+++ b/opendj-server-legacy/src/snmp/src/org/opends/server/snmp/SNMPConnectionHandler.java
@@ -47,6 +47,7 @@
 import org.opends.server.admin.std.server.SNMPConnectionHandlerCfg;
 import org.forgerock.opendj.config.server.ConfigException;
 import org.opends.server.core.DirectoryServer;
+import org.opends.server.core.ServerContext;
 import org.opends.server.types.InitializationException;
 
 import static org.opends.messages.ProtocolMessages.*;
@@ -95,8 +96,8 @@
     /**
      * {@inheritDoc}
      */
-    public void initializeConnectionHandler(
-            SNMPConnectionHandlerCfg configuration)
+    @Override
+    public void initializeConnectionHandler(ServerContext serverContext, SNMPConnectionHandlerCfg configuration)
             throws ConfigException, InitializationException {
 
         if (configuration == null) {
@@ -207,6 +208,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isConfigurationChangeAcceptable(
             SNMPConnectionHandlerCfg configuration,
             List<LocalizableMessage> unacceptableReasons) {
@@ -217,6 +219,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public ConfigChangeResult applyConfigurationChange(
             SNMPConnectionHandlerCfg configuration) {
         if ((this.isOperational) && (this.provider!=null)){
@@ -228,6 +231,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public DN getComponentEntryDN() {
         return this.currentConfig.dn();
     }
@@ -235,6 +239,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getClassName() {
         return SNMPConnectionHandler.class.getName();
     }
@@ -242,6 +247,7 @@
     /**
      * {@inheritDoc}
      */
+    @Override
     public LinkedHashMap<String, String> getAlerts() {
         LinkedHashMap<String, String> alerts =
           new LinkedHashMap<String, String>();

--
Gitblit v1.10.0