From a4a492ef370053764b7dacbbf2f9f36069ea46b2 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 25 Sep 2013 23:54:39 -0400 Subject: 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. --- .../src/com/netscape/cms/servlet/test/ConfigurationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base/common/functional/src') 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); -- cgit