summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/group/GroupClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/group/GroupClient.java')
-rw-r--r--base/common/src/com/netscape/certsrv/group/GroupClient.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/group/GroupClient.java b/base/common/src/com/netscape/certsrv/group/GroupClient.java
index 43d0ae5d5..2f7041b31 100644
--- a/base/common/src/com/netscape/certsrv/group/GroupClient.java
+++ b/base/common/src/com/netscape/certsrv/group/GroupClient.java
@@ -23,6 +23,7 @@ import org.jboss.resteasy.client.ClientResponse;
import com.netscape.certsrv.client.ClientConfig;
import com.netscape.certsrv.client.PKIClient;
+import com.netscape.certsrv.client.PKIConnection;
/**
* @author Endi S. Dewata
@@ -32,9 +33,17 @@ public class GroupClient extends PKIClient {
public GroupResource groupClient;
public GroupMemberResource groupMemberClient;
+ public GroupClient(PKIConnection connection) throws URISyntaxException {
+ super(connection);
+ init();
+ }
+
public GroupClient(ClientConfig config) throws URISyntaxException {
super(config);
+ init();
+ }
+ public void init() throws URISyntaxException {
groupClient = createProxy(GroupResource.class);
groupMemberClient = createProxy(GroupMemberResource.class);
}