diff options
author | Gordon Sim <gsim@apache.org> | 2010-06-01 09:25:23 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-06-01 09:25:23 +0000 |
commit | dc1cd587ef21cb307dca12d050af15786836bac9 (patch) | |
tree | 304d98a35a1d1eddf8547ab44848f0deb7e1f367 /python | |
parent | 9d47a1a3f4443a85015cb26ddda4be840c64398e (diff) | |
download | qpid-python-dc1cd587ef21cb307dca12d050af15786836bac9.tar.gz |
Don't use guest/guest default username/password, use None instead (this allows sasl implementation to infer the correct choice while retaining the ability to override it should that be desired)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r-- | python/qpid/messaging/endpoints.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/messaging/endpoints.py b/python/qpid/messaging/endpoints.py index 30165438c0..f5f957c821 100644 --- a/python/qpid/messaging/endpoints.py +++ b/python/qpid/messaging/endpoints.py @@ -127,8 +127,8 @@ class Connection: else: self.port = default(url.port, options.get("port", AMQP_PORT)) self.heartbeat = options.get("heartbeat") - self.username = default(url.user, options.get("username", "guest")) - self.password = default(url.password, options.get("password", "guest")) + self.username = default(url.user, options.get("username", None)) + self.password = default(url.password, options.get("password", None)) self.sasl_mechanisms = options.get("sasl_mechanisms") self.sasl_service = options.get("sasl_service", "qpidd") |