summaryrefslogtreecommitdiffstats
path: root/base/ca/src
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-01-30 22:32:15 +0100
committerEndi S. Dewata <edewata@redhat.com>2017-02-15 23:26:19 +0100
commita850db6a1dee8ce32513d7d1e6d4eeecac48e8d2 (patch)
tree308a7be416edcc49130340448fa8d4b0e7899aab /base/ca/src
parentbc4efe021439ae064621aa511a446de2f0b421fb (diff)
downloadpki-a850db6a1dee8ce32513d7d1e6d4eeecac48e8d2.tar.gz
pki-a850db6a1dee8ce32513d7d1e6d4eeecac48e8d2.tar.xz
pki-a850db6a1dee8ce32513d7d1e6d4eeecac48e8d2.zip
Refactored PKIService class.
The subsystem-based methods and fields in PKIService class have been moved into a new SubsystemService class to allow creating more generic non-subsystem-based services. The classes that use these methods and fields have been updated accordingly.
Diffstat (limited to 'base/ca/src')
-rw-r--r--base/ca/src/org/dogtagpki/server/ca/rest/AuthorityService.java4
-rw-r--r--base/ca/src/org/dogtagpki/server/ca/rest/ProfileService.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/base/ca/src/org/dogtagpki/server/ca/rest/AuthorityService.java b/base/ca/src/org/dogtagpki/server/ca/rest/AuthorityService.java
index 18542d379..c734fbf46 100644
--- a/base/ca/src/org/dogtagpki/server/ca/rest/AuthorityService.java
+++ b/base/ca/src/org/dogtagpki/server/ca/rest/AuthorityService.java
@@ -61,13 +61,13 @@ import com.netscape.certsrv.ca.IssuerUnavailableException;
import com.netscape.certsrv.common.OpDef;
import com.netscape.certsrv.common.ScopeDef;
import com.netscape.certsrv.logging.ILogger;
-import com.netscape.cms.servlet.base.PKIService;
+import com.netscape.cms.servlet.base.SubsystemService;
import com.netscape.cmsutil.util.Utils;
/**
* @author ftweedal
*/
-public class AuthorityService extends PKIService implements AuthorityResource {
+public class AuthorityService extends SubsystemService implements AuthorityResource {
ICertificateAuthority hostCA;
diff --git a/base/ca/src/org/dogtagpki/server/ca/rest/ProfileService.java b/base/ca/src/org/dogtagpki/server/ca/rest/ProfileService.java
index 41d009b9d..ba648a463 100644
--- a/base/ca/src/org/dogtagpki/server/ca/rest/ProfileService.java
+++ b/base/ca/src/org/dogtagpki/server/ca/rest/ProfileService.java
@@ -78,17 +78,17 @@ import com.netscape.certsrv.profile.ProfileResource;
import com.netscape.certsrv.property.EPropertyException;
import com.netscape.certsrv.registry.IPluginInfo;
import com.netscape.certsrv.registry.IPluginRegistry;
-import com.netscape.cms.servlet.base.PKIService;
+import com.netscape.cms.servlet.base.SubsystemService;
import com.netscape.cms.servlet.profile.PolicyConstraintFactory;
import com.netscape.cms.servlet.profile.PolicyDefaultFactory;
-import com.netscape.cmscore.base.SimpleProperties;
import com.netscape.cmscore.base.PropConfigStore;
+import com.netscape.cmscore.base.SimpleProperties;
/**
* @author alee
*
*/
-public class ProfileService extends PKIService implements ProfileResource {
+public class ProfileService extends SubsystemService implements ProfileResource {
@Context
private UriInfo uriInfo;