diff options
author | Gordon Sim <gsim@apache.org> | 2009-01-06 19:50:59 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-01-06 19:50:59 +0000 |
commit | ccd271e851f2bc2b52a7c8daaa54a06551d63dc0 (patch) | |
tree | b0ebe5326ee6a15d0d3339c60805920911a77df5 /cpp/src/qpid/client/ConnectionSettings.h | |
parent | 9b18a2b17aaa643001c54d48445ed0d8bb7f2a4c (diff) | |
download | qpid-python-ccd271e851f2bc2b52a7c8daaa54a06551d63dc0.tar.gz |
* Cyrus SASL intgeration for c++ client
* SASL security layer support for c++ client and broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732082 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/ConnectionSettings.h')
-rw-r--r-- | cpp/src/qpid/client/ConnectionSettings.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ConnectionSettings.h b/cpp/src/qpid/client/ConnectionSettings.h index 1b994a6da3..c7725e19f0 100644 --- a/cpp/src/qpid/client/ConnectionSettings.h +++ b/cpp/src/qpid/client/ConnectionSettings.h @@ -71,7 +71,8 @@ struct ConnectionSettings { std::string virtualhost; /** - * The username to use when authenticating the connection. + * The username to use when authenticating the connection. If not + * specified the current users login is used if available. */ std::string username; /** @@ -111,6 +112,20 @@ struct ConnectionSettings { * If true, TCP_NODELAY will be set for the connection. */ bool tcpNoDelay; + /** + * SASL service name + */ + std::string service; + /** + * Minimum acceptable strength of any SASL negotiated security + * layer. 0 means no security layer required. + */ + uint minSsf; + /** + * Maximum acceptable strength of any SASL negotiated security + * layer. 0 means no security layer allowed. + */ + uint maxSsf; }; }} // namespace qpid::client |