diff options
author | Alan Conway <aconway@apache.org> | 2009-02-12 19:01:51 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-02-12 19:01:51 +0000 |
commit | 55946250faf17c32ef8f49c724e622e9eedfbdfa (patch) | |
tree | ec6f972bbb5985eb1803f50584eecce606781631 /qpid/cpp/src/tests/ClusterFixture.h | |
parent | 64b26d7ac98b821e176f97d96a6580dafac353f6 (diff) | |
download | qpid-python-55946250faf17c32ef8f49c724e622e9eedfbdfa.tar.gz |
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@743839 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ClusterFixture.h')
-rw-r--r-- | qpid/cpp/src/tests/ClusterFixture.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/ClusterFixture.h b/qpid/cpp/src/tests/ClusterFixture.h index d1acfaa9cb..84fb9f2202 100644 --- a/qpid/cpp/src/tests/ClusterFixture.h +++ b/qpid/cpp/src/tests/ClusterFixture.h @@ -72,7 +72,7 @@ class ClusterFixture : public vector<uint16_t> { /** @param localIndex can be -1 meaning don't automatically start a local broker. * A local broker can be started with addLocal(). */ - ClusterFixture(size_t n, int localIndex=0, const Args& args=Args()); + ClusterFixture(size_t n, int localIndex=0, const Args& args=DEFAULT_ARGS); void add(size_t n) { for (size_t i=0; i < n; ++i) add(); } void add(); // Add a broker. void setup(); @@ -86,6 +86,8 @@ class ClusterFixture : public vector<uint16_t> { void killWithSilencer(size_t n, client::Connection& c, int sig=SIGINT); private: + static const Args DEFAULT_ARGS; + void addLocal(); // Add a local broker. Args makeArgs(const std::string& prefix); string name; |