summaryrefslogtreecommitdiff
path: root/cpp/src/tests/BrokerFixture.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-04-14 09:54:16 +0000
committerGordon Sim <gsim@apache.org>2008-04-14 09:54:16 +0000
commitf58096364147d54676f520efc003c58fa7897d0f (patch)
tree2e1954201b139d6cca7beae9f703a46be2cda922 /cpp/src/tests/BrokerFixture.h
parent1bf367821416484ebbb14480a5b68d1e6110b4c9 (diff)
downloadqpid-python-f58096364147d54676f520efc003c58fa7897d0f.tar.gz
QPID-648: Initial support for sasl authentication for c++ broker. From patch submitted by mfarrellee@redhat.com.
Authentication is optional at compile time (based on user selection or availability of cyrus sasl libs) and at runtime (through broker config option). Note: At present the runtime default is to not authenticate; this is a temporary measure to give some time for any automation scripts etc to be updated and will revert shortly to be on by default. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/BrokerFixture.h')
-rw-r--r--cpp/src/tests/BrokerFixture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/BrokerFixture.h b/cpp/src/tests/BrokerFixture.h
index fd350b77fe..83b3f621c7 100644
--- a/cpp/src/tests/BrokerFixture.h
+++ b/cpp/src/tests/BrokerFixture.h
@@ -47,6 +47,7 @@ struct BrokerFixture {
opts.enableMgmt=false;
opts.workerThreads=1;
opts.dataDir="";
+ opts.auth=false;
broker = Broker::create(opts);
// TODO aconway 2007-12-05: At one point BrokerFixture
// tests could hang in Connection ctor if the following