diff options
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 |
