From 1f641d41a35735dc9c5af5d514e3e8d5891168b7 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 15 Jul 2011 09:03:17 +0000 Subject: QPID-2979: Make windows broker advertise PLAIN even when auth is turned off. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147045 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/windows/SaslAuthenticator.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src') diff --git a/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp b/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp index 962877a471..d26b370632 100644 --- a/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp +++ b/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp @@ -93,6 +93,7 @@ NullAuthenticator::~NullAuthenticator() {} void NullAuthenticator::getMechanisms(Array& mechanisms) { mechanisms.add(boost::shared_ptr(new Str16Value("ANONYMOUS"))); + mechanisms.add(boost::shared_ptr(new Str16Value("PLAIN"))); } void NullAuthenticator::start(const string& mechanism, const string& response) -- cgit v1.2.1