diff options
| author | Markus Krogh <markus@nordu.net> | 2017-11-09 13:40:40 +0100 |
|---|---|---|
| committer | Markus Krogh <markus@nordu.net> | 2017-11-09 13:40:40 +0100 |
| commit | 0f7e42d386adbae00e635be2e4968207241bbcab (patch) | |
| tree | 3eb949d4209001c432f0214955c30149131ea4e7 /idp/shib-entrypoint.sh | |
| parent | 8e320ad17e620575dd383402f83492c6edd358aa (diff) | |
Bump to 3.3.2 and use secure only cookies
Diffstat (limited to 'idp/shib-entrypoint.sh')
| -rwxr-xr-x | idp/shib-entrypoint.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/idp/shib-entrypoint.sh b/idp/shib-entrypoint.sh index 0304fea..9b3ece0 100755 --- a/idp/shib-entrypoint.sh +++ b/idp/shib-entrypoint.sh @@ -21,6 +21,10 @@ if [ -e /opt/data ]; then fi fi +# Default property changes +# Use secure cookies (https only) +sed -i -e "/idp.cookie.secure/ s/^#//" -e "/idp.cookie.secure/ s/false/true/" $IDP_PROPERTIES + # Make encrytping optional (some SPs don't have encryption) if [ $IDP_ENCRYPTION_OPTIONAL ]; then sed -i -e '/idp.encryption.optional/ s/^#//' -e '/idp.encryption.optional/ s/false/true/' $IDP_PROPERTIES |
