summaryrefslogtreecommitdiffstats
path: root/base/ocsp/src
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-10-23 18:05:50 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-10-25 23:36:42 -0500
commit6359021315622e97ae3c074752548f915e4af00d (patch)
tree6fa92b4c2ac48d469b9fea0970931b005e3903ba /base/ocsp/src
parent7c105a64f41000737b85de832522738fd9af4200 (diff)
downloadpki-6359021315622e97ae3c074752548f915e4af00d.tar.gz
pki-6359021315622e97ae3c074752548f915e4af00d.tar.xz
pki-6359021315622e97ae3c074752548f915e4af00d.zip
Enabled account service for TKS and OCSP.
The REST account service has been added to TKS and OCSP to enable authentication. Ticket #375
Diffstat (limited to 'base/ocsp/src')
-rw-r--r--base/ocsp/src/com/netscape/ocsp/OCSPApplication.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/ocsp/src/com/netscape/ocsp/OCSPApplication.java b/base/ocsp/src/com/netscape/ocsp/OCSPApplication.java
index 498aa63ab..e6816721c 100644
--- a/base/ocsp/src/com/netscape/ocsp/OCSPApplication.java
+++ b/base/ocsp/src/com/netscape/ocsp/OCSPApplication.java
@@ -6,6 +6,7 @@ import java.util.Set;
import javax.ws.rs.core.Application;
import com.netscape.certsrv.base.PKIException;
+import com.netscape.cms.servlet.account.AccountService;
import com.netscape.cms.servlet.admin.GroupMemberService;
import com.netscape.cms.servlet.admin.GroupService;
import com.netscape.cms.servlet.admin.SystemCertService;
@@ -19,6 +20,10 @@ public class OCSPApplication extends Application {
private Set<Class<?>> classes = new HashSet<Class<?>>();
public OCSPApplication() {
+
+ // account
+ classes.add(AccountService.class);
+
// installer
classes.add(SystemConfigService.class);