From bffd507d565f4030407dc3d998f0e7ead2b39aa7 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 12 Feb 2009 19:01:51 +0000 Subject: Cluster security support: - Set correct user ID on update connections. - Allow configuration of user, pass and mechanism used for update connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743839 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/ClusterFixture.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/ClusterFixture.cpp') diff --git a/cpp/src/tests/ClusterFixture.cpp b/cpp/src/tests/ClusterFixture.cpp index 4a373e3811..3a0ea74098 100644 --- a/cpp/src/tests/ClusterFixture.cpp +++ b/cpp/src/tests/ClusterFixture.cpp @@ -67,13 +67,14 @@ ClusterFixture::ClusterFixture(size_t n, int localIndex_, const Args& args_) add(n); } +const ClusterFixture::Args ClusterFixture::DEFAULT_ARGS = + list_of("--auth=no")("--no-data-dir"); + ClusterFixture::Args ClusterFixture::makeArgs(const std::string& prefix) { Args args = list_of("qpidd " __FILE__) ("--no-module-dir") ("--load-module=../.libs/cluster.so") ("--cluster-name")(name) - ("--auth=no") - ("--no-data-dir") ("--log-prefix")(prefix); args.insert(args.end(), userArgs.begin(), userArgs.end()); return args; -- cgit v1.2.1