summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-06-03 20:11:32 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-06-03 20:11:32 (GMT)
commitdd2d1fbbce68afda9b9857a84564924f05935c4a (patch)
tree1b5462f2699ec65342097e39b70c72b6ab0ce1de /Slimber
parent66da202f765c8843bf61bc83fb5e7f81c2cb0a65 (diff)
downloadswift-contrib-dd2d1fbbce68afda9b9857a84564924f05935c4a.zip
swift-contrib-dd2d1fbbce68afda9b9857a84564924f05935c4a.tar.bz2
Use SASL EXTERNAL for authenticating in Slimber.
Diffstat (limited to 'Slimber')
-rw-r--r--Slimber/Server.cpp1
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(