summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-04-02 13:49:00 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2015-04-02 13:55:50 (GMT)
commitac3bfeb330f3dc7b37f7fb530485827744e1e64b (patch)
tree309da4192a8bbf884e8330bb6ef24e88530d03ba
parent934b4697e4ed7dfc493880b612100ece3539c237 (diff)
downloadauthentic2-supann-ac3bfeb330f3dc7b37f7fb530485827744e1e64b.zip
authentic2-supann-ac3bfeb330f3dc7b37f7fb530485827744e1e64b.tar.gz
authentic2-supann-ac3bfeb330f3dc7b37f7fb530485827744e1e64b.tar.bz2
Set a default NameID format and a default list of accepted NameID formatsv0.11
-rwxr-xr-xupdate-renater-meta.sh27
1 files changed, 20 insertions, 7 deletions
diff --git a/update-renater-meta.sh b/update-renater-meta.sh
index 1b8e5b9..8c0e6b0 100755
--- a/update-renater-meta.sh
+++ b/update-renater-meta.sh
@@ -58,13 +58,26 @@ cat <<EOF >$FIXTURE_TMP
{
"pk": [
"Default"
- ],
- "model": "saml.spoptionsidppolicy",
- "fields": {
- "name": "Default",
- "enabled": true,
- "authn_request_signed": false
- }
+ ],
+ "model": "saml.spoptionsidppolicy",
+ "fields" : {
+ "accept_slo" : false,
+ "accepted_name_id_format" : "transient,persistent",
+ "ask_user_consent" : false,
+ "authn_request_signed" : false,
+ "default_name_id_format" : "transient",
+ "enabled" : true,
+ "encrypt_assertion" : false,
+ "encrypt_nameid" : false,
+ "federation_mode" : 0,
+ "forward_slo" : true,
+ "http_method_for_slo_request" : 4,
+ "idp_initiated_sso" : false,
+ "iframe_logout_timeout" : 300,
+ "name" : "Default",
+ "needs_iframe_logout" : false,
+ "prefered_assertion_consumer_binding" : "meta"
+ }
}]
EOF