qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6116) [Python Client 08..091] Add ability to negotiate SASL mechanism and add support for SCRAM, CRAM, PLAIN mechanisms
Date Wed, 24 Sep 2014 17:08:33 GMT
Keith Wall created QPID-6116:
--------------------------------

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


Mime
View raw message