summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-07-15 09:03:17 +0000
committerGordon Sim <gsim@apache.org>2011-07-15 09:03:17 +0000
commit1f641d41a35735dc9c5af5d514e3e8d5891168b7 (patch)
treeb1abad046e93756f982c1105702e61dc3006e921 /cpp/src
parent5ff6cecfde7c56686e6b9376084fe9b025a1b29a (diff)
downloadqpid-python-1f641d41a35735dc9c5af5d514e3e8d5891168b7.tar.gz
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
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/windows/SaslAuthenticator.cpp1
1 files changed, 1 insertions, 0 deletions
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<FieldValue>(new Str16Value("ANONYMOUS")));
+ mechanisms.add(boost::shared_ptr<FieldValue>(new Str16Value("PLAIN")));
}
void NullAuthenticator::start(const string& mechanism, const string& response)