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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to