qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1147045 - /qpid/trunk/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp
Date Fri, 15 Jul 2011 09:03:18 GMT
Author: gsim
Date: Fri Jul 15 09:03:17 2011
New Revision: 1147045

URL: http://svn.apache.org/viewvc?rev=1147045&view=rev
Log:
QPID-2979: Make windows broker advertise PLAIN even when auth is turned off.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp?rev=1147045&r1=1147044&r2=1147045&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp Fri Jul 15 09:03:17
2011
@@ -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)



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message