You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2012/08/13 21:44:37 UTC
[jira] [Commented] (QPID-4227) QMF console.py does not correctly
set authorized user-id
[ https://issues.apache.org/jira/browse/QPID-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433461#comment-13433461 ]
Ken Giusti commented on QPID-4227:
----------------------------------
It appears as if the format of the user identifier available in the connection has changed from a "tuple" type to a string.
The following patch works around this:
Index: console.py
===================================================================
--- console.py (revision 1372526)
+++ console.py (working copy)
@@ -2443,6 +2443,8 @@
uid = self.conn.user_id
if uid.__class__ == tuple and len(uid) == 2:
self.saslUser = uid[1]
+ elif type(uid) is str:
+ self.saslUser = uid;
else:
self.saslUser = None
> QMF console.py does not correctly set authorized user-id
> --------------------------------------------------------
>
> Key: QPID-4227
> URL: https://issues.apache.org/jira/browse/QPID-4227
> Project: Qpid
> Issue Type: Bug
> Components: Python Client, Qpid Managment Framework
> Affects Versions: 0.18
> Reporter: Ken Giusti
> Assignee: Ken Giusti
>
> There appears to be a regression that prevents console.py (python QMF client) from correctly setting the authenticated user-id in outbound messages.
> This will cause authentication errors, although the correct credentials have been supplied.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org