qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1518285 - /qpid/trunk/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp
Date Wed, 28 Aug 2013 17:03:17 GMT
Author: chug
Date: Wed Aug 28 17:03:16 2013
New Revision: 1518285

URL: http://svn.apache.org/r1518285
Log:
QPID-5101: C++ Broker Windows missing SaslFactory::createServer for AMQP 1.0

Modified:
    qpid/trunk/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp?rev=1518285&r1=1518284&r2=1518285&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp Wed Aug 28 17:03:16 2013
@@ -26,6 +26,7 @@
 #include "qpid/sys/SecurityLayer.h"
 #include "qpid/sys/SecuritySettings.h"
 #include "qpid/log/Statement.h"
+#include "qpid/NullSaslServer.h"
 
 #include "boost/tokenizer.hpp"
 
@@ -107,6 +108,12 @@ std::auto_ptr<Sasl> SaslFactory::create(
     return sasl;
 }
 
+std::auto_ptr<SaslServer> SaslFactory::createServer( const std::string& realm,
bool /*encryptionRequired*/, const qpid::sys::SecuritySettings& )
+{
+    std::auto_ptr<SaslServer> server(new NullSaslServer(realm));
+    return server;
+}
+
 namespace {
     const std::string ANONYMOUS = "ANONYMOUS";
     const std::string PLAIN = "PLAIN";



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message