summaryrefslogtreecommitdiffstats
path: root/base/common/functional
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-09-25 23:54:39 -0400
committerEndi S. Dewata <edewata@redhat.com>2013-10-01 19:26:38 -0400
commita4a492ef370053764b7dacbbf2f9f36069ea46b2 (patch)
tree6ba47cbd79602db1f323e232f31cb72f1a31dabc /base/common/functional
parent7c0fb95b77f0f91c572e0242c09a88605497a455 (diff)
downloadpki-a4a492ef370053764b7dacbbf2f9f36069ea46b2.tar.gz
pki-a4a492ef370053764b7dacbbf2f9f36069ea46b2.tar.xz
pki-a4a492ef370053764b7dacbbf2f9f36069ea46b2.zip
Fixed CLI authentication issue.
Previously the CLI authentication could fail because it's using a fixed default subsystem which may not match the command it's trying to execute. The CLI has now been modified to use the appropriate default subsystem depending on the command to be executed.
Diffstat (limited to 'base/common/functional')
-rw-r--r--base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java b/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java
index f74ab714d..145575697 100644
--- a/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java
+++ b/base/common/functional/src/com/netscape/cms/servlet/test/ConfigurationTest.java
@@ -188,9 +188,9 @@ public class ConfigurationTest {
SystemConfigClient client = null;
try {
ClientConfig config = new ClientConfig();
- config.setServerURI(protocol + "://" + host + ":" + port + "/" + cstype);
+ config.setServerURI(protocol + "://" + host + ":" + port);
- client = new SystemConfigClient(new PKIClient(config));
+ client = new SystemConfigClient(new PKIClient(config), cstype);
} catch (URISyntaxException e1) {
e1.printStackTrace();
System.exit(1);