summaryrefslogtreecommitdiff
path: root/idp/shib-entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'idp/shib-entrypoint.sh')
-rwxr-xr-xidp/shib-entrypoint.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/idp/shib-entrypoint.sh b/idp/shib-entrypoint.sh
index 33d534f..4ee5489 100755
--- a/idp/shib-entrypoint.sh
+++ b/idp/shib-entrypoint.sh
@@ -21,6 +21,11 @@ if [ -e /opt/data ]; then
fi
fi
+# 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/'
+fi
+
# FTICKS
if [ -n "$FTICKS_FEDERATION" ]; then
sed -i -e '/idp.fticks.federation=/ s/^#//' \