diff options
| author | Charles E. Rolke <chug@apache.org> | 2013-08-28 17:03:16 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2013-08-28 17:03:16 +0000 |
| commit | 3321af26fea829563e8e805c445ae1d628ced71c (patch) | |
| tree | 7c0852ba52ba9cc046b90de3cae79643c1ea8da9 /qpid/cpp/src | |
| parent | 0b1ee9f4672f8c21d3622cd971b671bae3b10401 (diff) | |
| download | qpid-python-3321af26fea829563e8e805c445ae1d628ced71c.tar.gz | |
QPID-5101: C++ Broker Windows missing SaslFactory::createServer for AMQP 1.0
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518285 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/client/windows/SaslFactory.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp b/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp index 53d825771b..5ffd14596f 100644 --- a/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp +++ b/qpid/cpp/src/qpid/client/windows/SaslFactory.cpp @@ -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( const std::string & username, const std 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"; |
