From ea3ed931fde51d95416c8f25520908f170ef716b Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 11 Nov 2009 17:33:33 +0000 Subject: Added full SASL authentication and security layer for the Python client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834975 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/connection.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/qpid/connection.py') diff --git a/python/qpid/connection.py b/python/qpid/connection.py index 680f8f62e3..18eeb99de8 100644 --- a/python/qpid/connection.py +++ b/python/qpid/connection.py @@ -65,6 +65,7 @@ class Connection(Framer): self.thread.setDaemon(True) self.channel_max = 65535 + self.user_id = None self.op_enc = OpEncoder() self.seg_enc = SegmentEncoder() @@ -156,6 +157,8 @@ class Connection(Framer): while not self.closed: try: data = self.sock.recv(64*1024) + if self.security_layer_rx and data: + status, data = self.security_layer_rx.decode(data) if not data: self.detach_all() break -- cgit v1.2.1