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.h
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.h')
-rw-r--r--Swift/Controllers/SettingConstants.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Swift/Controllers/SettingConstants.h b/Swift/Controllers/SettingConstants.h
index eca3199..c4ac4ad 100644
--- a/Swift/Controllers/SettingConstants.h
+++ b/Swift/Controllers/SettingConstants.h
@@ -93,7 +93,16 @@ namespace Swift {
93 * 93 *
94 * If set true Swift will sign out the user when the 94 * If set true Swift will sign out the user when the
95 * smart card is removed; else not. 95 * smart card is removed; else not.
96 */ 96 */
97 static const SettingsProvider::Setting<bool> DISCONNECT_ON_CARD_REMOVAL; 97 static const SettingsProvider::Setting<bool> DISCONNECT_ON_CARD_REMOVAL;
98 /**
99 * The #SINGLE_SIGN_ON setting
100 * specifies whether to log in using Single Sign On.
101 * This is currently supported on Windows.
102 *
103 * If set true Swift will use GSSAPI authentication to
104 * log in the user; else not.
105 */
106 static const SettingsProvider::Setting<bool> SINGLE_SIGN_ON;
98 }; 107 };
99} 108}