summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Melnikov <alexey.melnikov@isode.com>2017-06-19 11:47:27 (GMT)
committerKevin Smith <kevin.smith@isode.com>2017-07-07 16:10:06 (GMT)
commitd89b27b8796f89c847c280dacfb1b09fd6cb6731 (patch)
tree1014011bf564c665ad27dfafa0dcbe5c4e1db3c4 /Swiften/SASL/SConscript
parent1b678a155adca8957866e016b0e344eee6290466 (diff)
downloadswift-d89b27b8796f89c847c280dacfb1b09fd6cb6731.zip
swift-d89b27b8796f89c847c280dacfb1b09fd6cb6731.tar.bz2
Add support for authorization identity in SASL EXTERNAL
As per RFC 4422. Tested by connecting Harrier configured to use SASL EXTERNAL to M-Box and verifying that authentication worked as expected. Also added cppunit test for SASL EXTERNAL. Change-Id: Ica5c72a858b9d8fcd9197f9c4287ca84e03fcbd2
Diffstat (limited to 'Swiften/SASL/SConscript')
-rw-r--r--Swiften/SASL/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/SASL/SConscript b/Swiften/SASL/SConscript
index 6aa3e72..8a248cc 100644
--- a/Swiften/SASL/SConscript
+++ b/Swiften/SASL/SConscript
@@ -1,33 +1,34 @@
Import("swiften_env", "env")
myenv = swiften_env.Clone()
objects = myenv.SwiftenObject([
"ClientAuthenticator.cpp",
"EXTERNALClientAuthenticator.cpp",
"PLAINClientAuthenticator.cpp",
"PLAINMessage.cpp",
"SCRAMSHA1ClientAuthenticator.cpp",
"DIGESTMD5Properties.cpp",
"DIGESTMD5ClientAuthenticator.cpp",
])
if myenv["PLATFORM"] == "win32" :
objects += myenv.SwiftenObject([
"WindowsServicePrincipalName.cpp",
"WindowsAuthentication.cpp",
"WindowsGSSAPIClientAuthenticator.cpp"
])
swiften_env.Append(SWIFTEN_OBJECTS = [objects])
env.Append(UNITTEST_SOURCES = [
File("UnitTest/PLAINMessageTest.cpp"),
File("UnitTest/PLAINClientAuthenticatorTest.cpp"),
+ File("UnitTest/EXTERNALClientAuthenticatorTest.cpp"),
File("UnitTest/SCRAMSHA1ClientAuthenticatorTest.cpp"),
File("UnitTest/DIGESTMD5PropertiesTest.cpp"),
File("UnitTest/DIGESTMD5ClientAuthenticatorTest.cpp"),
])
if myenv["PLATFORM"] == "win32" :
env.Append(UNITTEST_SOURCES = [
File("UnitTest/WindowsServicePrincipalNameTest.cpp"),
])