diff options
| author | Gordon Sim <gsim@apache.org> | 2014-06-25 17:27:29 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-06-25 17:27:29 +0000 |
| commit | 68cc8a77742d4abbd3badc13c56539f71434a0d2 (patch) | |
| tree | e29bf1f009141ef4bfb124225e7bafbbc147d9df /qpid/cpp/src | |
| parent | d360f54b9ad1174fe7d2c4a75e37533cf938a297 (diff) | |
| download | qpid-python-68cc8a77742d4abbd3badc13c56539f71434a0d2.tar.gz | |
QPID-5849: set mechanism on management connection even if auth=no
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp b/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp index d4029de818..ec86f3b177 100644 --- a/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp +++ b/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp @@ -233,6 +233,10 @@ void NullAuthenticator::start(const string& mechanism, const string* response) { throw ConnectionForcedException("User connection denied by configured limit"); } + qmf::org::apache::qpid::broker::Connection::shared_ptr cnxMgmt = connection.getMgmtObject(); + if ( cnxMgmt ) + cnxMgmt->set_saslMechanism(mechanism); + client.tune(framing::CHANNEL_MAX, connection.getFrameMax(), 0, connection.getHeartbeatMax()); } |
