diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-06-03 20:11:32 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-06-03 20:11:32 (GMT) |
commit | dd2d1fbbce68afda9b9857a84564924f05935c4a (patch) | |
tree | 1b5462f2699ec65342097e39b70c72b6ab0ce1de /Slimber | |
parent | 66da202f765c8843bf61bc83fb5e7f81c2cb0a65 (diff) | |
download | swift-contrib-dd2d1fbbce68afda9b9857a84564924f05935c4a.zip swift-contrib-dd2d1fbbce68afda9b9857a84564924f05935c4a.tar.bz2 |
Use SASL EXTERNAL for authenticating in Slimber.
Diffstat (limited to 'Slimber')
-rw-r--r-- | Slimber/Server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Slimber/Server.cpp b/Slimber/Server.cpp index cbb52b7..5b08d93 100644 --- a/Slimber/Server.cpp +++ b/Slimber/Server.cpp @@ -144,6 +144,7 @@ void Server::handleNewClientConnection(boost::shared_ptr<Connection> connection) serverFromClientSession = boost::shared_ptr<ServerFromClientSession>( new ServerFromClientSession(idGenerator.generateID(), connection, &payloadParserFactories, &payloadSerializers, &userRegistry)); + serverFromClientSession->setAllowSASLEXTERNAL(); serverFromClientSession->onSessionStarted.connect( boost::bind(&Server::handleSessionStarted, this)); serverFromClientSession->onElementReceived.connect( |