diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-02-05 14:56:48 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-02-05 14:56:48 +0000 |
commit | 27bed5a97092424b5bbd4559843223d85e31333b (patch) | |
tree | 4fbe73cbbda4d3f76de71445c4a1c6fbb073e1b4 /cpp/src/tests/acl.py | |
parent | 7c3117bbc2c0ca538618870aae758bd3a6ac13b5 (diff) | |
download | qpid-python-27bed5a97092424b5bbd4559843223d85e31333b.tar.gz |
specify PLAIN so that sasl negotiation can't end up using ANONYMOUS
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906959 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/acl.py')
-rwxr-xr-x | cpp/src/tests/acl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/acl.py b/cpp/src/tests/acl.py index b4dfa557df..34146c401e 100755 --- a/cpp/src/tests/acl.py +++ b/cpp/src/tests/acl.py @@ -41,7 +41,8 @@ class ACLTests(TestBase010): def get_session(self, user, passwd): socket = connect(self.broker.host, self.broker.port) - connection = Connection (sock=socket, username=user, password=passwd) + connection = Connection (sock=socket, username=user, password=passwd, + mechanism="PLAIN") connection.start() return connection.session(str(uuid4())) |