diff options
| author | Michael Goulish <mgoulish@apache.org> | 2011-07-06 19:28:45 +0000 |
|---|---|---|
| committer | Michael Goulish <mgoulish@apache.org> | 2011-07-06 19:28:45 +0000 |
| commit | 79cb8be064a21bdc691f21471f8f331d79906ad5 (patch) | |
| tree | 70e74d1baaee4727d4da15fe40a800770572e91e /cpp/include | |
| parent | c739fb335931a9d0e8ab347993cd03ae9ef82251 (diff) | |
| download | qpid-python-79cb8be064a21bdc691f21471f8f331d79906ad5.tar.gz | |
JIRA 3337
no more defaulting to guest/guest username/password
qpidd.sasldb is no longer created -- users who want usernames and passwords in there must create it.
but a local qpidd.sasldb is (before this change) being created for 'make check' testing.
The etc/sasl2/qpidd.conf file now has an explicit mech list -- so we will no longer default to the system-list.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143536 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
| -rw-r--r-- | cpp/include/qpid/agent/ManagementAgent.h | 4 | ||||
| -rw-r--r-- | cpp/include/qpid/client/Connection.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cpp/include/qpid/agent/ManagementAgent.h b/cpp/include/qpid/agent/ManagementAgent.h index e2451244c1..10bc6527a9 100644 --- a/cpp/include/qpid/agent/ManagementAgent.h +++ b/cpp/include/qpid/agent/ManagementAgent.h @@ -110,8 +110,8 @@ class ManagementAgent uint16_t intervalSeconds = 10, bool useExternalThread = false, const std::string& storeFile = "", - const std::string& uid = "guest", - const std::string& pwd = "guest", + const std::string& uid = "", + const std::string& pwd = "", const std::string& mech = "PLAIN", const std::string& proto = "tcp") = 0; diff --git a/cpp/include/qpid/client/Connection.h b/cpp/include/qpid/client/Connection.h index 2477bf4800..c0db0f301d 100644 --- a/cpp/include/qpid/client/Connection.h +++ b/cpp/include/qpid/client/Connection.h @@ -102,8 +102,8 @@ class QPID_CLIENT_CLASS_EXTERN Connection * within a single broker). */ QPID_CLIENT_EXTERN void open(const std::string& host, int port = 5672, - const std::string& uid = "guest", - const std::string& pwd = "guest", + const std::string& uid = "", + const std::string& pwd = "", const std::string& virtualhost = "/", uint16_t maxFrameSize=65535); /** @@ -124,8 +124,8 @@ class QPID_CLIENT_CLASS_EXTERN Connection * within a single broker). */ QPID_CLIENT_EXTERN void open(const Url& url, - const std::string& uid = "guest", - const std::string& pwd = "guest", + const std::string& uid = "", + const std::string& pwd = "", const std::string& virtualhost = "/", uint16_t maxFrameSize=65535); /** |
