diff options
| author | Alan Conway <aconway@apache.org> | 2008-12-02 20:41:49 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-12-02 20:41:49 +0000 |
| commit | 7cdb9a9ab688988e596d9fce116a0998decd0972 (patch) | |
| tree | aef9d6d0bc837b2eb0116e863c8bc89ed8f45021 /cpp/src/qpid/broker | |
| parent | 0fa4afae5e690b1cf147ebbe60641b448fcb5c31 (diff) | |
| download | qpid-python-7cdb9a9ab688988e596d9fce116a0998decd0972.tar.gz | |
Cluster: handle CPG flow-control conditions.
PollableQueue: allow dispatch functions to refuse dispatch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722614 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker')
| -rw-r--r-- | cpp/src/qpid/broker/SaslAuthenticator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SaslAuthenticator.cpp b/cpp/src/qpid/broker/SaslAuthenticator.cpp index 4cbc3898f8..370de8a1d1 100644 --- a/cpp/src/qpid/broker/SaslAuthenticator.cpp +++ b/cpp/src/qpid/broker/SaslAuthenticator.cpp @@ -118,10 +118,12 @@ void SaslAuthenticator::fini(void) std::auto_ptr<SaslAuthenticator> SaslAuthenticator::createAuthenticator(Connection& c) { + static bool needWarning = true; if (c.getBroker().getOptions().auth) { return std::auto_ptr<SaslAuthenticator>(new CyrusAuthenticator(c)); } else { QPID_LOG(warning, "SASL: No Authentication Performed"); + needWarning = false; return std::auto_ptr<SaslAuthenticator>(new NullAuthenticator(c)); } } |
