Commit cc47aba0 authored by haemmer's avatar haemmer

Implemented #431

parent 4ea9b04c
......@@ -545,6 +545,14 @@ if (
// Set JavaScript content type
header('Content-type: text/javascript;charset="utf-8"');
// Is Embedded WAYF data protection feature enabled?
if (
isset($useEmbeddedWAYFPrivacyProtection)
&& $useEmbeddedWAYFPrivacyProtection == true
){
$selectedIDP = '-';
}
// Generate JavaScript code
printEmbeddedWAYFScript();
......
......@@ -97,6 +97,13 @@ $useReverseDNSLookup = false;
// Therefore, only enable this feature if you know what you are doing!
$useEmbeddedWAYF = false;
// If activated the Embedded WAYF will prevent releasing information
// about the user's preselected Identity Provider
// While this is benefical to the data protection of the user, it will also
// prevent preselecting the user's Identity Provider. Thus, users will have
// to preselect their IdP each and every time
$useEmbeddedWAYFPrivacyProtection = false;
// Whether to enable logging of WAYF/DS requests
// If turned on make sure to also configure $WAYFLogFile
$useLogging = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment