This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
compte-agglo-montpellier/compte_agglo_montpellier/fixtures/saml-dev.json

296 lines
18 KiB
JSON

[ { "fields" : { "attribute_name" : "uid",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : true,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 2
},
{ "fields" : { "attribute_name" : "email",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : true,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 3
},
{ "fields" : { "attribute_name" : "gn",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : true,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 4
},
{ "fields" : { "attribute_name" : "sn",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 5
},
{ "fields" : { "attribute_name" : "telephoneNumber",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 7
},
{ "fields" : { "attribute_name" : "postalCode",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 8
},
{ "fields" : { "attribute_name" : "street",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 9
},
{ "fields" : { "attribute_name" : "personalTitle",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 10
},
{ "fields" : { "attribute_name" : "l",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 11
},
{ "fields" : { "attribute_name" : "mobile",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 12
},
{ "fields" : { "attribute_name" : "role",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"output_namespace" : "Default",
"required" : false,
"source" : 1
},
"model" : "idp.attributeitem",
"pk" : 13
},
{ "fields" : { "attributes" : [ 2,
3,
4,
5,
7,
8,
9,
10,
11,
12,
13
],
"name" : "Profile"
},
"model" : "idp.attributelist",
"pk" : 1
},
{ "fields" : { "allow_attributes_selection" : false,
"ask_consent_attributes" : false,
"attribute_filter_for_sso_from_push_sources" : null,
"attribute_list_for_sso_from_pull_sources" : 1,
"enabled" : true,
"filter_source_of_filtered_attributes" : false,
"forward_attributes_from_push_sources" : false,
"map_attributes_from_push_sources" : false,
"map_attributes_of_filtered_attributes" : false,
"name" : "Default",
"output_name_format" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
"output_namespace" : "Default",
"send_error_and_no_attrs_if_missing_required_attrs" : false,
"source_filter_for_sso_from_push_sources" : [ ]
},
"model" : "idp.attributepolicy",
"pk" : 1
},
{ "fields" : { "authn_request_signature_check_hint" : 0,
"name" : "Default"
},
"model" : "saml.libertyproviderpolicy",
"pk" : 1
},
{ "fields" : { "authn_request_signature_check_hint" : 2,
"name" : "Shibboleth SP"
},
"model" : "saml.libertyproviderpolicy",
"pk" : 2
},
{ "fields" : { "accept_slo" : true,
"allow_create" : true,
"back_url" : "/",
"binding_for_sso_response" : "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact",
"enable_binding_for_sso_response" : false,
"enable_http_method_for_defederation_request" : false,
"enable_http_method_for_slo_request" : true,
"enabled" : true,
"force_user_consent" : false,
"forward_slo" : true,
"handle_persistent" : "AUTHSAML2_UNAUTH_PERSISTENT_ACCOUNT_LINKING_BY_AUTH",
"handle_transient" : "AUTHSAML2_UNAUTH_TRANSIENT_ASK_AUTH",
"http_method_for_defederation_request" : 5,
"http_method_for_slo_request" : 5,
"name" : "Default",
"no_nameid_policy" : false,
"requested_name_id_format" : "persistent",
"transient_is_persistent" : false,
"want_authn_request_signed" : false,
"want_force_authn_request" : false,
"want_is_passive_authn_request" : false
},
"model" : "saml.idpoptionssppolicy",
"pk" : 1
},
{ "fields" : { "accept_slo" : true,
"accepted_name_id_format" : "[u'[u\\'[u\"[u\\\\\\'transient\\\\\\'\"\\'', u' u\\' u\" u\\\\\\'persistent\\\\\\'\"\\'', u' u\\' u\" u\\\\\\'email\\\\\\']\"]\\']']",
"ask_user_consent" : false,
"authn_request_signed" : false,
"default_name_id_format" : "persistent",
"enabled" : true,
"encrypt_assertion" : false,
"encrypt_nameid" : false,
"forward_slo" : true,
"idp_initiated_sso" : true,
"name" : "Default",
"prefered_assertion_consumer_binding" : "meta"
},
"model" : "saml.spoptionsidppolicy",
"pk" : 1
},
{ "fields" : { "accept_slo" : true,
"accepted_name_id_format" : "[u'[u\"[u\\'\\']\"]']",
"ask_user_consent" : true,
"authn_request_signed" : false,
"default_name_id_format" : "persistent",
"enabled" : true,
"encrypt_assertion" : false,
"encrypt_nameid" : false,
"forward_slo" : true,
"idp_initiated_sso" : true,
"name" : "Consentement",
"prefered_assertion_consumer_binding" : "meta"
},
"model" : "saml.spoptionsidppolicy",
"pk" : 2
},
{ "fields" : { "accept_slo" : true,
"accepted_name_id_format" : "[u'[u\"[u\\'\\']\"]']",
"ask_user_consent" : false,
"authn_request_signed" : false,
"default_name_id_format" : "none",
"enabled" : true,
"encrypt_assertion" : false,
"encrypt_nameid" : false,
"forward_slo" : true,
"idp_initiated_sso" : false,
"name" : "Hide",
"prefered_assertion_consumer_binding" : "meta"
},
"model" : "saml.spoptionsidppolicy",
"pk" : 3
},
{ "fields" : { "ca_cert_chain" : "",
"entity_id" : "http://eservices-montpellier.entrouvert.org/saml/metadata",
"entity_id_sha1" : "5540b0b614a7f5d0f9583b43495d1e9508b52000",
"federation_source" : null,
"metadata" : "<?xml version=\"1.0\"?>\n<EntityDescriptor xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\n xmlns:saml=\"urn:oasis:names:tc:SAML:2.0:assertion\"\n xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\"\n entityID=\"http://eservices-montpellier.entrouvert.org/saml/metadata\">\n <SPSSODescriptor\n AuthnRequestsSigned=\"true\" WantAssertionsSigned=\"true\"\n protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\">\n <KeyDescriptor use=\"signing\">\n <ds:KeyInfo xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\n <KeyValue xmlns=\"http://www.w3.org/2000/09/xmldsig#\">\n <RSAKeyValue>\n <Modulus>nJpkBznHNbvE+RAC6mU+NPQnIWs8gFNCm6I3FPcUKYpaJbXaurJ4cJgvnaEiqIXPQDcbHxuLeCbYbId9yascWZirvQbh8d/r+Vv+24bPG++9gW+i3Nnz1VW8V+z0b+puHWvM/FjJjBNJgWkI38gaupz47U6/02CtWx00stitiwk=</Modulus>\n <Exponent>AQAB</Exponent>\n </RSAKeyValue>\n</KeyValue>\n </ds:KeyInfo>\n </KeyDescriptor>\n <KeyDescriptor use=\"encryption\">\n <ds:KeyInfo xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\n <KeyValue xmlns=\"http://www.w3.org/2000/09/xmldsig#\">\n <RSAKeyValue>\n <Modulus>3BxSiAzGvY1Yuqa31L7Zr2WHM/8cn5oX+Q6A2SYgzjuvAgnWyizN8YgW/fHR4G7MtkmZ5RFJLXfcSLwbUfpFHV6KO1ikbgViYuFempM+SWtjqEI7ribm9GaI5kUzHJZBrH3/Q9XAd9/GLLALxurGjbKDeLfc0D+7el26g4sYmA8=</Modulus>\n <Exponent>AQAB</Exponent>\n </RSAKeyValue>\n</KeyValue>\n </ds:KeyInfo>\n </KeyDescriptor>\n\n <SingleLogoutService\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/singleLogout\"\n ResponseLocation=\"http://eservices-montpellier.entrouvert.org/saml/singleLogoutReturn\" />\n <SingleLogoutService\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:SOAP\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/singleLogoutSOAP\" />\n <ManageNameIDService\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/manageNameId\"\n ResponseLocation=\"http://eservices-montpellier.entrouvert.org/saml/manageNameIdReturn\" />\n <ManageNameIDService\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:SOAP\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/manageNameIdSOAP\" />\n <AssertionConsumerService isDefault=\"true\" index=\"0\"\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/assertionConsumerArtifact\" />\n <AssertionConsumerService index=\"1\"\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/assertionConsumerPost\" />\n <AssertionConsumerService index=\"2\"\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:PAOS\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/assertionConsumerSOAP\" />\n <AssertionConsumerService index=\"3\"\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\n Location=\"http://eservices-montpellier.entrouvert.org/saml/assertionConsumerRedirect\" />\n </SPSSODescriptor>\n\n\n</EntityDescriptor>",
"name" : "Eservices",
"protocol_conformance" : 3,
"public_key" : "",
"ssl_certificate" : ""
},
"model" : "saml.libertyprovider",
"pk" : 2
},
{ "fields" : { "ca_cert_chain" : "",
"entity_id" : "http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/metadata.php/default-sp",
"entity_id_sha1" : "f7b6634ad4fd5af01a09f2ff9d24b93eed5985e3",
"federation_source" : null,
"metadata" : "<md:EntityDescriptor xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\" entityID=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/metadata.php/default-sp\">\r\n <md:SPSSODescriptor protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol\">\r\n <md:SingleLogoutService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\" Location=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/saml2-logout.php/default-sp\"/>\r\n <md:AssertionConsumerService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST\" Location=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/saml2-acs.php/default-sp\" index=\"0\"/>\r\n <md:AssertionConsumerService Binding=\"urn:oasis:names:tc:SAML:1.0:profiles:browser-post\" Location=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/saml1-acs.php/default-sp\" index=\"1\"/>\r\n <md:AssertionConsumerService Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact\" Location=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/saml2-acs.php/default-sp\" index=\"2\"/>\r\n <md:AssertionConsumerService Binding=\"urn:oasis:names:tc:SAML:1.0:profiles:artifact-01\" Location=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/saml1-acs.php/default-sp/artifact\" index=\"3\"/>\r\n <md:AssertionConsumerService Binding=\"urn:oasis:names:tc:SAML:2.0:profiles:holder-of-key:SSO:browser\" Location=\"http://drupal.montpellier.entrouvert.org/simplesamlphp/module.php/saml/sp/saml2-acs.php/default-sp\" index=\"4\"/>\r\n </md:SPSSODescriptor>\r\n <md:ContactPerson contactType=\"technical\">\r\n <md:GivenName>Administrator</md:GivenName>\r\n <md:EmailAddress>na@example.org</md:EmailAddress>\r\n </md:ContactPerson>\r\n</md:EntityDescriptor>",
"name" : "Site Web de l'agglomération",
"protocol_conformance" : 3,
"public_key" : "",
"ssl_certificate" : ""
},
"model" : "saml.libertyprovider",
"pk" : 3
},
{ "fields" : { "ca_cert_chain" : "",
"entity_id" : "https://test-commune-montpellier.entrouvert.org/saml/metadata",
"entity_id_sha1" : "5da4d3fc93c3dd23a2974c626db5de98c2270a9c",
"federation_source" : null,
"metadata" : "<?xml version=\"1.0\"?>\r\n<EntityDescriptor xmlns=\"urn:oasis:names:tc:SAML:2.0:metadata\"\r\n xmlns:saml=\"urn:oasis:names:tc:SAML:2.0:assertion\"\r\n xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\"\r\n entityID=\"https://test-commune-montpellier.entrouvert.org/saml/metadata\">\r\n<SPSSODescriptor\r\n AuthnRequestsSigned=\"true\"\r\n protocolSupportEnumeration=\"urn:oasis:names:tc:SAML:2.0:protocol\">\r\n<KeyDescriptor use=\"signing\">\r\n <ds:KeyInfo xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\r\n <ds:X509Data><ds:X509Certificate>-----BEGIN CERTIFICATE-----\r\nMIIEQTCCAiugAwIBAgIUBwAAAAAAAAAAAAAAAAAAAAAAAAAwCwYJKoZIhvcNAQEF\r\nMIGJMQswCQYDVQQGEwJGUjEOMAwGA1UEBxMFUGFyaXMxFDASBgNVBAoTC0VudHIn\r\nT3V2ZXJ0MSMwIQYDVQQLDBpBdXRvcml0w6kgZGUgY2VydGlmaWNhdGlvbjEvMC0G\r\nA1UEAwwmRW50cidPdXZlcnQgQXV0b3JpdMOpIGRlIENlcnRpZmljYXRpb24wHhcN\r\nMDkwMTIwMDk1NDA0WhcNMTQwMTIwMDg1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z4b6n83+HIBipxTbbF3p0q0CXeA3lw1WPCP4bCHjz46dxT\r\nEp07KHZVIRkTbT8Y4Hizy/dHLuE9xiWrz9wJQHU37eqdrahEvpfDiamER61wwz6r\r\n7cO08dlYUqGU9OuG2MStaZJkU+bS4k9rpH9ozh8n+INDtFOFQA==\r\n-----END CERTIFICATE-----\r\n</ds:X509Certificate></ds:X509Data>\r\n </ds:KeyInfo>\r\n </KeyDescriptor>\r\n\r\n\r\n <SingleLogoutService\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:SOAP\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/singleLogoutSOAP\" />\r\n <SingleLogoutService\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/singleLogout\"\r\n ResponseLocation=\"https://test-commune-montpellier.entrouvert.org/saml/singleLogoutReturn\" />\r\n <ManageNameIDService\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:SOAP\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/manageNameIdSOAP\" />\r\n <ManageNameIDService\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/manageNameId\"\r\n ResponseLocation=\"https://test-commune-montpellier.entrouvert.org/saml/manageNameIdReturn\" />\r\n <AssertionConsumerService isDefault=\"true\" index=\"0\"\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/singleSignOnArtifact\" />\r\n <AssertionConsumerService index=\"1\"\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/singleSignOnPost\" />\r\n <AssertionConsumerService index=\"2\"\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:PAOS\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/singleSignOnSOAP\" />\r\n <AssertionConsumerService index=\"3\"\r\n Binding=\"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\"\r\n Location=\"https://test-commune-montpellier.entrouvert.org/saml/singleSignOnRedirect\" />\r\n</SPSSODescriptor>\r\n</EntityDescriptor>\r\n",
"name" : "Test commune",
"protocol_conformance" : 3,
"public_key" : "",
"ssl_certificate" : ""
},
"model" : "saml.libertyprovider",
"pk" : 8
},
{ "fields" : { "attribute_policy" : null,
"enable_following_attribute_policy" : false,
"enable_following_sp_options_policy" : false,
"enabled" : true,
"policy" : 1,
"sp_options_policy" : null
},
"model" : "saml.libertyserviceprovider",
"pk" : 2
},
{ "fields" : { "attribute_policy" : null,
"enable_following_attribute_policy" : false,
"enable_following_sp_options_policy" : false,
"enabled" : true,
"policy" : 2,
"sp_options_policy" : null
},
"model" : "saml.libertyserviceprovider",
"pk" : 3
},
{ "fields" : { "attribute_policy" : null,
"enable_following_attribute_policy" : false,
"enable_following_sp_options_policy" : false,
"enabled" : true,
"policy" : 2,
"sp_options_policy" : null
},
"model" : "saml.libertyserviceprovider",
"pk" : 8
},
{ "fields" : { "name" : "USER_PROFILE",
"namespace" : "Default"
},
"model" : "attribute_aggregator.attributesource",
"pk" : 1
}
]