summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-05-31 13:24:04 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2016-05-31 13:24:04 (GMT)
commit3dc69ed7b286037cfb68b25241158ba99beb3927 (patch)
tree7908a40071d4bbc8652ed585b7a55bfd1b15ac97
parent0cb99dc97f4ac14d9e18f88a144add5f5dc27972 (diff)
downloadauthentic2-supann-3dc69ed7b286037cfb68b25241158ba99beb3927.zip
authentic2-supann-3dc69ed7b286037cfb68b25241158ba99beb3927.tar.gz
authentic2-supann-3dc69ed7b286037cfb68b25241158ba99beb3927.tar.bz2
improve slo support flagv0.17
-rwxr-xr-xupdate-renater-meta.sh8
1 files 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 <<EOF >$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 <<EOF >$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,