summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMili Verma <mili.verma@isode.com>2015-07-09 08:40:05 (GMT)
committerMili Verma <mili.verma@isode.com>2015-07-09 09:15:02 (GMT)
commit23481aa1306b7d77b18be3b1c8764cccdc80e32d (patch)
treee799049949f78d51f317f8e9771e7a2e986c1ebb /Swift/Controllers/SettingConstants.cpp
parent58bb58557368c520e8a9368fcacff8d22466e759 (diff)
downloadswift-23481aa1306b7d77b18be3b1c8764cccdc80e32d.zip
swift-23481aa1306b7d77b18be3b1c8764cccdc80e32d.tar.bz2
Enable SSO
Add a hidden option to enable single sign on. When that is enabled, ensure that the user only enters the domain name and that the JID is constructed from the Windows log-on credentials. Test-information: Tested on Windows. Unit tests pass. Change-Id: Ia5592a3893f0807a3801b515c8fcddb580c9ef8d
Diffstat (limited to 'Swift/Controllers/SettingConstants.cpp')
-rw-r--r--Swift/Controllers/SettingConstants.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/SettingConstants.cpp b/Swift/Controllers/SettingConstants.cpp
index d740686..9807abc 100644
--- a/Swift/Controllers/SettingConstants.cpp
+++ b/Swift/Controllers/SettingConstants.cpp
@@ -28,4 +28,5 @@ const SettingsProvider::Setting<std::string> SettingConstants::INVITE_AUTO_ACCEP
const SettingsProvider::Setting<std::string> SettingConstants::TRELLIS_GRID_SIZE("trellisGridSize", "");
const SettingsProvider::Setting<std::string> SettingConstants::TRELLIS_GRID_POSITIONS("trellisGridPositions", "");
const SettingsProvider::Setting<bool> SettingConstants::DISCONNECT_ON_CARD_REMOVAL("disconnectOnCardRemoval", true);
+const SettingsProvider::Setting<bool> SettingConstants::SINGLE_SIGN_ON("singleSignOn", false);
}