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 20:51:38 UTC

[jira] [Created] (QPID-4227) QMF console.py does not correctly set authorized user-id

Ken Giusti created QPID-4227:
--------------------------------

             Summary: 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


[jira] [Resolved] (QPID-4227) QMF console.py does not correctly set authorized user-id

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti resolved QPID-4227.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19

http://svn.apache.org/viewvc?view=revision&revision=1372567
                
> 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.19
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>             Fix For: 0.19
>
>
> 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


[jira] [Updated] (QPID-4227) QMF console.py does not correctly set authorized user-id

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti updated QPID-4227:
-----------------------------

    Affects Version/s:     (was: 0.18)
                       0.19
    
> 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.19
>            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


[jira] [Commented] (QPID-4227) QMF console.py does not correctly set authorized user-id

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
    [ 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