From 2a109c0bec151b014430158256058e5a4063f3ce Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 5 Feb 2015 17:00:16 +0100 Subject: [PATCH] =?UTF-8?q?update-renater-metadata.sh:=20corrige=20la=20cr?= =?UTF-8?q?=C3=A9ation=20de=20la=20politique=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update-renater-meta.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/update-renater-meta.sh b/update-renater-meta.sh index 3ac6ca0..9f3a54d 100755 --- a/update-renater-meta.sh +++ b/update-renater-meta.sh @@ -7,7 +7,7 @@ BASEDIR=`dirname $0` METADATA_TMP=`tempfile` FILTERS_TMP=`tempfile` CERTIFICATE_TMP=`tempfile` -FIXTURE_TMP=`tempfile` +FIXTURE_TMP=`tempfile --suffix=.json` function cleanup { rm -f $METADATA_TMP $FILTERS_TMP $CERTIFICATE_TMP $FIXTURE_TMP @@ -59,14 +59,17 @@ cat <$FIXTURE_TMP "pk": [ "Default" ], - "model": "saml.libertyproviderpolicy", + "model": "saml.spoptionsidppolicy", "fields": { "name": "Default", - "authn_request_signature_check_hint": 2 + "enabled": true, + "authn_request_signed": false } }] EOF +chown authentic $METADATA_TMP $FILTERS_TMP $FIXTURE_TMP + # Load fixture authentic2-ctl loaddata -v0 $FIXTURE_TMP