Author: tmckay
Date: 2011-10-31 18:37:20 +0000 (Mon, 31 Oct 2011)
New Revision: 5101
Modified:
trunk/sesame/cpp/etc/sesame.conf
trunk/sesame/cpp/src/SysAgent.cpp
Log:
Change sesame to use ANONYMOUS authentication by default. Previously
used PLAIN with "guest" user.
Modified: trunk/sesame/cpp/etc/sesame.conf
===================================================================
--- trunk/sesame/cpp/etc/sesame.conf 2011-10-31 14:04:59 UTC (rev 5100)
+++ trunk/sesame/cpp/etc/sesame.conf 2011-10-31 18:37:20 UTC (rev 5101)
@@ -30,14 +30,14 @@
##======================
##
-## Set the SASL mechanism (PLAIN by default), and the username and password
+## Set the SASL mechanism (ANONYMOUS by default), and the username and password
## to be used when authenticating to the broker. If you wish to not store
## the password in this configuration file, you may use pwd-file to point
## to an access-restricted file containing the password.
##
-#mech=PLAIN
-#uid=guest
-#pwd=guest
+#mech=ANONYMOUS
+#uid=
+#pwd=
#pwd-file=/etc/sesame/password
##==============
Modified: trunk/sesame/cpp/src/SysAgent.cpp
===================================================================
--- trunk/sesame/cpp/src/SysAgent.cpp 2011-10-31 14:04:59 UTC (rev 5100)
+++ trunk/sesame/cpp/src/SysAgent.cpp 2011-10-31 18:37:20 UTC (rev 5101)
@@ -325,9 +325,9 @@
options["host"] = Option("ADDR", "localhost",
"Broker host name or IP address");
options["port"] = Option("N", "5672",
"Port for broker service");
options["proto"] = Option("NAME", "tcp",
"Protocol for broker communication");
- options["mech"] = Option("NAME", "",
"Authentication mechanism");
- options["uid"] = Option("NAME", "guest",
"Authentication user name");
- options["pwd"] = Option("PASSWORD", "guest",
"Authentication password");
+ options["mech"] = Option("NAME", "ANONYMOUS",
"Authentication mechanism");
+ options["uid"] = Option("NAME", "",
"Authentication user name");
+ options["pwd"] = Option("PASSWORD", "",
"Authentication password");
options["pwd-file"] = Option("FILE", "",
"File containing password");
options["service"] = Option("NAME", "qpidd",
"SASL service name");
options["min-ssf"] = Option("N", "0",
"Minimum acceptable strength for SASL security layer");
Show replies by date