summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-01 09:25:23 +0000
committerGordon Sim <gsim@apache.org>2010-06-01 09:25:23 +0000
commitdc1cd587ef21cb307dca12d050af15786836bac9 (patch)
tree304d98a35a1d1eddf8547ab44848f0deb7e1f367 /python
parent9d47a1a3f4443a85015cb26ddda4be840c64398e (diff)
downloadqpid-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.py4
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")