diff options
author | jmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-01-06 02:02:18 +0000 |
---|---|---|
committer | jmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-01-06 02:02:18 +0000 |
commit | 7d26d98f802ebfba2b3eabeeed522508bb827a52 (patch) | |
tree | fe865e728a35e05aa154e0754889213c816c2565 /pki/base/common/src/com/netscape | |
parent | c019d25761024f8224168c74cae84d27c4eecd27 (diff) | |
download | pki-7d26d98f802ebfba2b3eabeeed522508bb827a52.tar.gz pki-7d26d98f802ebfba2b3eabeeed522508bb827a52.tar.xz pki-7d26d98f802ebfba2b3eabeeed522508bb827a52.zip |
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
Diffstat (limited to 'pki/base/common/src/com/netscape')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/logging/RollingLogFile.java | 4 | ||||
-rw-r--r-- | pki/base/common/src/com/netscape/cms/servlet/admin/KRAAdminServlet.java | 10 |
2 files changed, 10 insertions, 4 deletions
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); } } |