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
@@ -95,5 +95,14 @@ namespace Swift {
* smart card is removed; else not.
*/
static const SettingsProvider::Setting<bool> DISCONNECT_ON_CARD_REMOVAL;
+ /**
+ * The #SINGLE_SIGN_ON setting
+ * specifies whether to log in using Single Sign On.
+ * This is currently supported on Windows.
+ *
+ * If set true Swift will use GSSAPI authentication to
+ * log in the user; else not.
+ */
+ static const SettingsProvider::Setting<bool> SINGLE_SIGN_ON;
};
}