summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/system/SystemConfigClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/system/SystemConfigClient.java')
-rw-r--r--base/common/src/com/netscape/certsrv/system/SystemConfigClient.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/system/SystemConfigClient.java b/base/common/src/com/netscape/certsrv/system/SystemConfigClient.java
index fd14bbe19..4ccf152b3 100644
--- a/base/common/src/com/netscape/certsrv/system/SystemConfigClient.java
+++ b/base/common/src/com/netscape/certsrv/system/SystemConfigClient.java
@@ -21,6 +21,7 @@ import java.net.URISyntaxException;
import com.netscape.certsrv.client.ClientConfig;
import com.netscape.certsrv.client.PKIClient;
+import com.netscape.certsrv.client.PKIConnection;
/**
@@ -31,9 +32,17 @@ public class SystemConfigClient extends PKIClient {
private SystemConfigResource configClient;
+ public SystemConfigClient(PKIConnection connection) throws URISyntaxException {
+ super(connection);
+ init();
+ }
+
public SystemConfigClient(ClientConfig config) throws URISyntaxException {
super(config);
+ init();
+ }
+ public void init() throws URISyntaxException {
configClient = createProxy(SystemConfigResource.class);
}