summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ClusterPlugin.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-12-01 19:04:40 +0000
committerAlan Conway <aconway@apache.org>2009-12-01 19:04:40 +0000
commite81ab6bc615bf37605f255885e45e51acc7c8469 (patch)
tree3b76541331b0665cac969ec687ff4a557c5484d9 /cpp/src/qpid/cluster/ClusterPlugin.cpp
parent6904c94023d040c914d4379fb42f0f350f2d88c9 (diff)
downloadqpid-python-e81ab6bc615bf37605f255885e45e51acc7c8469.tar.gz
Make cluster update work out of the box without special authentication options.
Changed the default --cluster-mechanism to ANONYMOUS. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885870 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterPlugin.cpp')
-rw-r--r--cpp/src/qpid/cluster/ClusterPlugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/ClusterPlugin.cpp b/cpp/src/qpid/cluster/ClusterPlugin.cpp
index aab05f8ab4..7f0a2752b0 100644
--- a/cpp/src/qpid/cluster/ClusterPlugin.cpp
+++ b/cpp/src/qpid/cluster/ClusterPlugin.cpp
@@ -65,9 +65,9 @@ struct ClusterOptions : public Options {
("cluster-url", optValue(settings.url,"URL"),
"URL of this broker, advertized to the cluster.\n"
"Defaults to a URL listing all the local IP addresses\n")
- ("cluster-username", optValue(settings.username, ""), "Username for connections between brokers")
- ("cluster-password", optValue(settings.password, ""), "Password for connections between brokers")
- ("cluster-mechanism", optValue(settings.mechanism, ""), "Authentication mechanism for connections between brokers")
+ ("cluster-username", optValue(settings.username, "USER"), "Username for connections between brokers")
+ ("cluster-password", optValue(settings.password, "PASS"), "Password for connections between brokers")
+ ("cluster-mechanism", optValue(settings.mechanism, "MECH"), "Authentication mechanism for connections between brokers")
#if HAVE_LIBCMAN_H
("cluster-cman", optValue(settings.quorum), "Integrate with Cluster Manager (CMAN) cluster.")
#endif