summaryrefslogtreecommitdiff
path: root/qpid/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
commit5d7e22ba6f96a800a0af166559bea35652665951 (patch)
treed28657ba9ae54549ebfb7682a703e01c8eb75926 /qpid/python
parenta837aa01c69df5a5640478fe14f29796b75944f2 (diff)
downloadqpid-python-5d7e22ba6f96a800a0af166559bea35652665951.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@949971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/messaging/endpoints.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/qpid/messaging/endpoints.py b/qpid/python/qpid/messaging/endpoints.py
index 30165438c0..f5f957c821 100644
--- a/qpid/python/qpid/messaging/endpoints.py
+++ b/qpid/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")