summaryrefslogtreecommitdiffstats
path: root/base/ocsp
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-04-22 14:22:51 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-04-25 18:58:30 -0400
commit84c4e7e9a8e29e890959ab7c70b17f6f859d295d (patch)
tree410ef9f9da99f49de57736ef6afd1e38c88d452b /base/ocsp
parentf28a2010262a39f3702e681c69133b72a06bce78 (diff)
downloadpki-84c4e7e9a8e29e890959ab7c70b17f6f859d295d.tar.gz
pki-84c4e7e9a8e29e890959ab7c70b17f6f859d295d.tar.xz
pki-84c4e7e9a8e29e890959ab7c70b17f6f859d295d.zip
Refactored SystemConfigService (part 9).
New subclasses of SystemConfigService have been added for each subsystem to replace the base installer. Initially these classes are blank, so they are identical to the base class. Later they will store subsystem-specific installation code. Ticket #890
Diffstat (limited to 'base/ocsp')
-rw-r--r--base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPApplication.java3
-rw-r--r--base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPInstallerService.java32
2 files changed, 33 insertions, 2 deletions
diff --git a/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPApplication.java b/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPApplication.java
index 688fec772..392d923f9 100644
--- a/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPApplication.java
+++ b/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPApplication.java
@@ -14,7 +14,6 @@ import org.dogtagpki.server.rest.MessageFormatInterceptor;
import org.dogtagpki.server.rest.SecurityDomainService;
import org.dogtagpki.server.rest.SelfTestService;
import org.dogtagpki.server.rest.SystemCertService;
-import org.dogtagpki.server.rest.SystemConfigService;
import org.dogtagpki.server.rest.UserService;
import com.netscape.certsrv.apps.CMS;
@@ -36,7 +35,7 @@ public class OCSPApplication extends Application {
classes.add(AuditService.class);
// installer
- classes.add(SystemConfigService.class);
+ classes.add(OCSPInstallerService.class);
// security domain
IConfigStore cs = CMS.getConfigStore();
diff --git a/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPInstallerService.java b/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPInstallerService.java
new file mode 100644
index 000000000..0ee5eb430
--- /dev/null
+++ b/base/ocsp/src/org/dogtagpki/server/ocsp/rest/OCSPInstallerService.java
@@ -0,0 +1,32 @@
+// --- BEGIN COPYRIGHT BLOCK ---
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; version 2 of the License.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program; if not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+//
+// (C) 2014 Red Hat, Inc.
+// All rights reserved.
+// --- END COPYRIGHT BLOCK ---
+package org.dogtagpki.server.ocsp.rest;
+
+import org.dogtagpki.server.rest.SystemConfigService;
+
+import com.netscape.certsrv.base.EBaseException;
+
+/**
+ * @author alee
+ *
+ */
+public class OCSPInstallerService extends SystemConfigService {
+
+ public OCSPInstallerService() throws EBaseException {
+ }
+}