diff options
| author | Gordon Sim <gsim@apache.org> | 2009-01-07 09:54:41 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-01-07 09:54:41 +0000 |
| commit | 0dbd3dee502a5e11ef25a6a8ff05a74ed4059c3d (patch) | |
| tree | 344d3664d8b42be81407d248165557354b547e00 /qpid/cpp/src | |
| parent | fe871ca4ada184824c373595d35da3b4ae5cd535 (diff) | |
| download | qpid-python-0dbd3dee502a5e11ef25a6a8ff05a74ed4059c3d.tar.gz | |
Fix for windows build: add implementations of the getSecurityLayer()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@732292 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp b/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp index a239987c0e..212d7c4db4 100644 --- a/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp +++ b/qpid/cpp/src/qpid/broker/windows/SaslAuthenticator.cpp @@ -29,6 +29,7 @@ #include <windows.h> using namespace qpid::framing; +using qpid::sys::SecurityLayer; namespace qpid { namespace broker { @@ -43,6 +44,7 @@ public: void getMechanisms(framing::Array& mechanisms); void start(const std::string& mechanism, const std::string& response); void step(const std::string&) {} + std::auto_ptr<SecurityLayer> getSecurityLayer(uint16_t maxFrameSize); }; class SspiAuthenticator : public SaslAuthenticator @@ -57,6 +59,7 @@ public: void getMechanisms(framing::Array& mechanisms); void start(const std::string& mechanism, const std::string& response); void step(const std::string& response); + std::auto_ptr<SecurityLayer> getSecurityLayer(uint16_t maxFrameSize); }; bool SaslAuthenticator::available(void) @@ -109,6 +112,12 @@ void NullAuthenticator::start(const string& mechanism, const string& response) client.tune(framing::CHANNEL_MAX, connection.getFrameMax(), 0, 0); } +std::auto_ptr<SecurityLayer> NullAuthenticator::getSecurityLayer(uint16_t) +{ + std::auto_ptr<SecurityLayer> securityLayer; + return securityLayer; +} + SspiAuthenticator::SspiAuthenticator(Connection& c) : userToken(INVALID_HANDLE_VALUE), connection(c), client(c.getOutput()) { @@ -172,4 +181,10 @@ void SspiAuthenticator::step(const string& response) QPID_LOG(info, "SASL: Need another step!!!"); } +std::auto_ptr<SecurityLayer> SspiAuthenticator::getSecurityLayer(uint16_t) +{ + std::auto_ptr<SecurityLayer> securityLayer; + return securityLayer; +} + }} |
