summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/kra
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2014-02-26 13:15:57 -0500
committerAbhishek Koneru <akoneru@redhat.com>2014-03-19 19:17:39 -0400
commit24294c097dd0dd9f7de0202443a8c8e34807bb2f (patch)
tree03e393bb71fb1263ee85571b26a0f108e1133e1b /base/common/src/com/netscape/certsrv/kra
parentfbd1b96a35946b7ebf36afea3f3a2a50dcbf193f (diff)
downloadpki-24294c097dd0dd9f7de0202443a8c8e34807bb2f.tar.gz
pki-24294c097dd0dd9f7de0202443a8c8e34807bb2f.tar.xz
pki-24294c097dd0dd9f7de0202443a8c8e34807bb2f.zip
Changes to KeyClient on the java side.
The KeyClient class on the java side is modified to have a similar design as the KeyClient class on the python side.
Diffstat (limited to 'base/common/src/com/netscape/certsrv/kra')
-rw-r--r--base/common/src/com/netscape/certsrv/kra/KRAClient.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/common/src/com/netscape/certsrv/kra/KRAClient.java b/base/common/src/com/netscape/certsrv/kra/KRAClient.java
index 1cdb879e6..a21850153 100644
--- a/base/common/src/com/netscape/certsrv/kra/KRAClient.java
+++ b/base/common/src/com/netscape/certsrv/kra/KRAClient.java
@@ -1,7 +1,5 @@
package com.netscape.certsrv.kra;
-import java.net.URISyntaxException;
-
import com.netscape.certsrv.client.PKIClient;
import com.netscape.certsrv.client.SubsystemClient;
import com.netscape.certsrv.group.GroupClient;
@@ -13,12 +11,12 @@ import com.netscape.certsrv.user.UserClient;
public class KRAClient extends SubsystemClient {
- public KRAClient(PKIClient client) throws URISyntaxException {
+ public KRAClient(PKIClient client) throws Exception {
super(client, "kra");
init();
}
- public void init() throws URISyntaxException {
+ public void init() throws Exception {
addClient(new AuditClient(client, name));
addClient(new GroupClient(client, name));