From 7962623cf4fbdb2f5a1d71b615814f922a7f2409 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@1147045 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp b/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp index 962877a471..d26b370632 100644 --- a/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp +++ b/qpid/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