summaryrefslogtreecommitdiff
path: root/qpid/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
commit7962623cf4fbdb2f5a1d71b615814f922a7f2409 (patch)
tree11a0b702d9671852d7fe49dfc5563504bca63522 /qpid/cpp/src
parent0a816b7543bd5262b9789662fb812d445518b562 (diff)
downloadqpid-python-7962623cf4fbdb2f5a1d71b615814f922a7f2409.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@1147045 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp1
1 files changed, 1 insertions, 0 deletions
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<FieldValue>(new Str16Value("ANONYMOUS")));
+ mechanisms.add(boost::shared_ptr<FieldValue>(new Str16Value("PLAIN")));
}
void NullAuthenticator::start(const string& mechanism, const string& response)