Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
cc47aba0
Commit
cc47aba0
authored
Feb 24, 2011
by
haemmer
Browse files
Implemented #431
parent
4ea9b04c
Changes
2
Hide whitespace changes
Inline
Side-by-side
WAYF
View file @
cc47aba0
...
...
@@ -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
();
...
...
config.dist.php
View file @
cc47aba0
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment