From 3dc69ed7b286037cfb68b25241158ba99beb3927 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 31 May 2016 15:24:04 +0200 Subject: [PATCH] improve slo support flag --- update-renater-meta.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update-renater-meta.sh b/update-renater-meta.sh index 8b6c052..027fe0a 100755 --- a/update-renater-meta.sh +++ b/update-renater-meta.sh @@ -53,9 +53,9 @@ if ! xmlsec1 --verify --id-attr:ID EntitiesDescriptor --pubkey-cert-pem $CERTIFI fi if [ "$ALLOW_SLO" = "0" ]; then - IDP_INITIATED_SLO=false + SLO_SUPPORT=false else - IDP_INITIATED_SLO=true + SLO_SUPPORT=true fi @@ -65,7 +65,7 @@ cat <$FIXTURE_TMP { "model": "saml.spoptionsidppolicy", "fields" : { - "accept_slo" : false, + "accept_slo" : $SLO_SUPPORT, "accepted_name_id_format" : "transient,persistent", "ask_user_consent" : false, "authn_request_signed" : false, @@ -76,7 +76,7 @@ cat <$FIXTURE_TMP "federation_mode" : 0, "forward_slo" : true, "http_method_for_slo_request" : 4, - "idp_initiated_sso" : $IDP_INITIATED_SLO, + "idp_initiated_sso" : $SLO_SUPPORT, "iframe_logout_timeout" : 300, "name" : "Default", "needs_iframe_logout" : false,