You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/01 14:20:34 UTC

[jira] [Commented] (QPID-6116) [Python Client 08..091] Add ability to negotiate SASL mechanism and add support for SCRAM, CRAM, PLAIN mechanisms

    [ https://issues.apache.org/jira/browse/QPID-6116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154733#comment-14154733 ] 

ASF subversion and git services commented on QPID-6116:
-------------------------------------------------------

Commit 1628687 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1628687 ]

QPID-6116: [Python Client 0-8..0-9] Allow fallback to anon/external sasl if no credentials are provided

> [Python Client 08..091] Add ability to negotiate SASL mechanism and add support for SCRAM, CRAM, PLAIN mechanisms
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6116
>                 URL: https://issues.apache.org/jira/browse/QPID-6116
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Python Client
>            Reporter: Keith Wall
>
> On the 08..091 code path, users of the Python API are responsible for forming the SASL response themselves and passing this as an argument to the Client#start method.  This approach works only for SASL interactions that do not require a 'secure' step.
> {code}
> client = Client("localhost", 5672)
> client.start(response="\0guest\0guest", mechanism="PLAIN")
> {code}
> The API will be changed so that Client#start accept username/password arguments, and that the client internally selects a suitable SASL mechanism from those offered by the server.  SASL mechanisms will be included for:
> * SCRAM SHA1/25
> * CRAM-MD5
> * PLAIN
> * EXTERNAL
> * ANONYMOUS
> * AMQPLAIN/CRAM-MD5-HEX (legacy - to aid interoperability)
> The existing API will be maintain through the change.  The 0-10 paths will not be impacted by this change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org