From 7d26d98f802ebfba2b3eabeeed522508bb827a52 Mon Sep 17 00:00:00 2001 From: jmagne Date: Thu, 6 Jan 2011 02:02:18 +0000 Subject: Fix Bugzilla Bug 663546 - Disable the functionalities that are not exposed in the console git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1706 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- .../common/src/com/netscape/cms/logging/RollingLogFile.java | 4 ++-- .../src/com/netscape/cms/servlet/admin/KRAAdminServlet.java | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'pki/base/common/src/com') diff --git a/pki/base/common/src/com/netscape/cms/logging/RollingLogFile.java b/pki/base/common/src/com/netscape/cms/logging/RollingLogFile.java index f38f24bba..32702d00d 100644 --- a/pki/base/common/src/com/netscape/cms/logging/RollingLogFile.java +++ b/pki/base/common/src/com/netscape/cms/logging/RollingLogFile.java @@ -511,8 +511,8 @@ public class RollingLogFile extends LogFile { /** * Retrieve log file list. */ - public synchronized NameValuePairs retrieveLogList(Hashtable req, - Hashtable resp) throws ServletException, + public synchronized NameValuePairs retrieveLogList(Hashtable req + ) throws ServletException, IOException, EBaseException { NameValuePairs params = new NameValuePairs(); String[] files = null; diff --git a/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java b/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java index d1ddf6f4d..423095d51 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java @@ -115,6 +115,7 @@ public class KRAAdminServlet extends AdminServlet { null, resp); return; } + /* Functions not implemented in console if (scope.equals(ScopeDef.SC_AUTO_RECOVERY)) { readAutoRecoveryConfig(req, resp); return; @@ -124,7 +125,9 @@ public class KRAAdminServlet extends AdminServlet { } else if (scope.equals(ScopeDef.SC_NOTIFICATION_RIQ)) { getNotificationRIQConfig(req, resp); return; - } else if (scope.equals(ScopeDef.SC_GENERAL)) { + } else + */ + if (scope.equals(ScopeDef.SC_GENERAL)) { getGeneralConfig(req, resp); return; } @@ -136,6 +139,7 @@ public class KRAAdminServlet extends AdminServlet { null, resp); return; } + /* Functions not implemented in console if (scope.equals(ScopeDef.SC_AUTO_RECOVERY)) { modifyAutoRecoveryConfig(req, resp); return; @@ -148,7 +152,9 @@ public class KRAAdminServlet extends AdminServlet { } else if (scope.equals(ScopeDef.SC_NOTIFICATION_RIQ)) { setNotificationRIQConfig(req, resp); return; - } else if (scope.equals(ScopeDef.SC_GENERAL)) { + } else + */ + if (scope.equals(ScopeDef.SC_GENERAL)) { setGeneralConfig(req,resp); } } -- cgit