diff options
author | Gordon Sim <gsim@apache.org> | 2009-01-06 19:50:59 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-01-06 19:50:59 +0000 |
commit | ccd271e851f2bc2b52a7c8daaa54a06551d63dc0 (patch) | |
tree | b0ebe5326ee6a15d0d3339c60805920911a77df5 /cpp/src/qpid/sys/TCPIOPlugin.cpp | |
parent | 9b18a2b17aaa643001c54d48445ed0d8bb7f2a4c (diff) | |
download | qpid-python-ccd271e851f2bc2b52a7c8daaa54a06551d63dc0.tar.gz |
* Cyrus SASL intgeration for c++ client
* SASL security layer support for c++ client and broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732082 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/TCPIOPlugin.cpp')
-rw-r--r-- | cpp/src/qpid/sys/TCPIOPlugin.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cpp/src/qpid/sys/TCPIOPlugin.cpp b/cpp/src/qpid/sys/TCPIOPlugin.cpp index be091f86d8..c6e45b8fa4 100644 --- a/cpp/src/qpid/sys/TCPIOPlugin.cpp +++ b/cpp/src/qpid/sys/TCPIOPlugin.cpp @@ -65,14 +65,10 @@ static class TCPIOPlugin : public Plugin { // Only provide to a Broker if (broker) { const broker::Broker::Options& opts = broker->getOptions(); - if (opts.requireEncrypted) { - QPID_LOG(info, "Not accepting unencrypted connections on TCP"); - } else { - ProtocolFactory::shared_ptr protocol(new AsynchIOProtocolFactory(opts.port, opts.connectionBacklog, - opts.tcpNoDelay)); - QPID_LOG(notice, "Listening on TCP port " << protocol->getPort()); - broker->registerProtocolFactory("tcp", protocol); - } + ProtocolFactory::shared_ptr protocol(new AsynchIOProtocolFactory(opts.port, opts.connectionBacklog, + opts.tcpNoDelay)); + QPID_LOG(notice, "Listening on TCP port " << protocol->getPort()); + broker->registerProtocolFactory("tcp", protocol); } } } tcpPlugin; |