From dc1cd587ef21cb307dca12d050af15786836bac9 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 1 Jun 2010 09:25:23 +0000 Subject: 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 --- python/qpid/messaging/endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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") -- cgit v1.2.1