summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-06-05 10:48:53 +0000
committerGordon Sim <gsim@apache.org>2008-06-05 10:48:53 +0000
commita9211a0c7e445552f7805d5c94fa093772a7a3f7 (patch)
tree45208a3d1f79ddf1d10aff70780245c367fbf1c4 /cpp/src
parente0c1408d146b0efeca3bf0c55131e7049f783288 (diff)
downloadqpid-python-a9211a0c7e445552f7805d5c94fa093772a7a3f7.tar.gz
Re-introduced previously clobbered realm option.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@663519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/Broker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp
index d590b0358f..606ca1bb59 100644
--- a/cpp/src/qpid/broker/Broker.cpp
+++ b/cpp/src/qpid/broker/Broker.cpp
@@ -84,6 +84,7 @@ Broker::Options::Options(const std::string& name) :
enableMgmt(1),
mgmtPubInterval(10),
auth(AUTH_DEFAULT),
+ realm("QPID"),
replayFlushLimit(1024),
replayHardLimit(0)
{
@@ -108,6 +109,7 @@ Broker::Options::Options(const std::string& name) :
("mgmt-enable,m", optValue(enableMgmt,"yes|no"), "Enable Management")
("mgmt-pub-interval", optValue(mgmtPubInterval, "SECONDS"), "Management Publish Interval")
("auth", optValue(auth, "yes|no"), "Enable authentication, if disabled all incoming connections will be trusted")
+ ("realm", optValue(realm, "REALM"), "Use the given realm when performing authentication")
("replay-flush-limit", optValue(replayFlushLimit, "KB"), "Send flush request when the replay buffer reaches this limit. 0 means no limit.")
("replay-hard-limit", optValue(replayHardLimit, "KB"), "Kill a session if its replay buffer exceeds this limit. 0 means no limit.");
}