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 | c8367c9b4da3c70f69b2cce9ef290068bb3be634 (patch) | |
| tree | 99d1ff2ee86dc813845c26c813e8c09816ca4580 /qpid/cpp | |
| parent | 2bd1de3be884d7448ba322030eacfb7ca2844ea5 (diff) | |
| download | qpid-python-c8367c9b4da3c70f69b2cce9ef290068bb3be634.tar.gz | |
Add comments to start(); resolves QPID-1899
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@886036 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/client/Sasl.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/client/Sasl.h b/qpid/cpp/src/qpid/client/Sasl.h index fcc8c1f1c6..63da37fcb1 100644 --- a/qpid/cpp/src/qpid/client/Sasl.h +++ b/qpid/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; |
