diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-08-11 04:53:30 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-08-15 12:07:04 -0500 |
commit | 56768d1bd274228a391ac8a4272ab9ccf5ac3e51 (patch) | |
tree | 470e4d05ea650e9475c82265182557bd240ef3b5 /base/kra | |
parent | c70859039d60db53a1966f3b1781defd032a4062 (diff) | |
download | pki-56768d1bd274228a391ac8a4272ab9ccf5ac3e51.tar.gz pki-56768d1bd274228a391ac8a4272ab9ccf5ac3e51.tar.xz pki-56768d1bd274228a391ac8a4272ab9ccf5ac3e51.zip |
Cleaned up REST client class names.
The REST client classes have been renamed for better clarity
and consistency.
Ticket #259
Diffstat (limited to 'base/kra')
-rw-r--r-- | base/kra/functional/src/com/netscape/cms/servlet/test/DRMClient.java (renamed from base/kra/functional/src/com/netscape/cms/servlet/test/DRMRestClient.java) | 6 | ||||
-rw-r--r-- | base/kra/functional/src/com/netscape/cms/servlet/test/DRMTest.java | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/base/kra/functional/src/com/netscape/cms/servlet/test/DRMRestClient.java b/base/kra/functional/src/com/netscape/cms/servlet/test/DRMClient.java index 372b8aea6..0f12eada2 100644 --- a/base/kra/functional/src/com/netscape/cms/servlet/test/DRMRestClient.java +++ b/base/kra/functional/src/com/netscape/cms/servlet/test/DRMClient.java @@ -11,7 +11,7 @@ import com.netscape.certsrv.request.RequestId; import com.netscape.cms.client.cli.ClientConfig; import com.netscape.cms.servlet.admin.SystemCertificateResource; import com.netscape.cms.servlet.cert.model.CertificateData; -import com.netscape.cms.servlet.csadmin.CMSRestClient; +import com.netscape.cms.servlet.csadmin.PKIClient; import com.netscape.cms.servlet.key.KeyResource; import com.netscape.cms.servlet.key.model.KeyData; import com.netscape.cms.servlet.key.model.KeyDataInfo; @@ -23,13 +23,13 @@ import com.netscape.cms.servlet.request.model.KeyRequestInfos; import com.netscape.cms.servlet.request.model.RecoveryRequestData; import com.netscape.cmsutil.util.Utils; -public class DRMRestClient extends CMSRestClient { +public class DRMClient extends PKIClient { private KeyResource keyClient; private KeyRequestResource keyRequestClient; private SystemCertificateResource systemCertClient; - public DRMRestClient(ClientConfig config) throws URISyntaxException { + public DRMClient(ClientConfig config) throws URISyntaxException { super(config); systemCertClient = createProxy(SystemCertificateResource.class); diff --git a/base/kra/functional/src/com/netscape/cms/servlet/test/DRMTest.java b/base/kra/functional/src/com/netscape/cms/servlet/test/DRMTest.java index 62cdfe992..9954ba94f 100644 --- a/base/kra/functional/src/com/netscape/cms/servlet/test/DRMTest.java +++ b/base/kra/functional/src/com/netscape/cms/servlet/test/DRMTest.java @@ -194,13 +194,13 @@ public class DRMTest { // Set base URI and get client - DRMRestClient client; + DRMClient client; try { ClientConfig config = new ClientConfig(); config.setServerURI(protocol + "://" + host + ":" + port + "/kra"); config.setCertNickname(clientCertNickname); - client = new DRMRestClient(config); + client = new DRMClient(config); } catch (Exception e) { e.printStackTrace(); |