From 7cdb9a9ab688988e596d9fce116a0998decd0972 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 2 Dec 2008 20:41:49 +0000 Subject: 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 --- cpp/src/qpid/broker/SaslAuthenticator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/broker') 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::createAuthenticator(Connection& c) { + static bool needWarning = true; if (c.getBroker().getOptions().auth) { return std::auto_ptr(new CyrusAuthenticator(c)); } else { QPID_LOG(warning, "SASL: No Authentication Performed"); + needWarning = false; return std::auto_ptr(new NullAuthenticator(c)); } } -- cgit v1.2.1