diff options
author | Stephen D. Huston <shuston@apache.org> | 2009-12-02 02:28:31 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2009-12-02 02:28:31 +0000 |
commit | ccefe594aa525ac9ecc510738dcfd28dd530a320 (patch) | |
tree | f3801e47babf13d1aabaed89b8998e57b437a348 | |
parent | e4ffbcd11ae6a052af52d7f5075475c3ff0f2831 (diff) | |
download | qpid-python-ccefe594aa525ac9ecc510738dcfd28dd530a320.tar.gz |
Add comments to start(); resolves QPID-1899
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886036 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/client/Sasl.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Sasl.h b/cpp/src/qpid/client/Sasl.h index fcc8c1f1c6..63da37fcb1 100644 --- a/cpp/src/qpid/client/Sasl.h +++ b/cpp/src/qpid/client/Sasl.h @@ -37,11 +37,27 @@ namespace client { struct ConnectionSettings; /** - * Interface to SASL support + * Interface to SASL support. This class is implemented by platform-specific + * SASL providers. */ class Sasl { public: + /** + * Start SASL negotiation with the broker. + * + * @param mechanisms Comma-separated list of the SASL mechanism the + * client supports. + * @param ssf Security Strength Factor (SSF). SSF is used to negotiate + * a SASL security layer on top of the connection should both + * parties require and support it. The value indicates the + * required level of security for communication. Possible + * values are: + * @li 0 No security + * @li 1 Integrity checking only + * @li >1 Integrity and confidentiality with the number + * giving the encryption key length. + */ virtual std::string start(const std::string& mechanisms, unsigned int ssf) = 0; virtual std::string step(const std::string& challenge) = 0; virtual std::string getMechanism() = 0; |