From 9e9e8fdf4c3a4aa84735bda788154ac9c0ad68fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Thu, 22 Aug 2013 18:37:23 +0200 Subject: [PATCH] Production configuration for simplesamlphp --- .../simplesamlphp/config/authsources.php | 5 +- .../metadata/saml20-idp-remote.php | 83 +++++++++++++++++++ 2 files changed, 87 insertions(+), 1 deletion(-) diff --git a/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php b/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php index c0f8379..a17c02f 100644 --- a/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php +++ b/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php @@ -22,7 +22,10 @@ $config = array( // The entity ID of the IdP this should SP should contact. // Can be NULL/unset, in which case the user will be shown a list of available IdPs. - 'idp' => 'https://idp-test-entrouvert.montpellier-agglo.com/idp/saml2/metadata', + // Production + 'idp' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/metadata', + // Recette + // 'idp' => 'https://idp-test-entrouvert.montpellier-agglo.com/idp/saml2/metadata', // The URL to the discovery service. // Can be NULL/unset, in which case a builtin discovery service will be used. diff --git a/drupal/simplesamlphp_auth/simplesamlphp/metadata/saml20-idp-remote.php b/drupal/simplesamlphp_auth/simplesamlphp/metadata/saml20-idp-remote.php index 8fc2e6a..bb76a09 100644 --- a/drupal/simplesamlphp_auth/simplesamlphp/metadata/saml20-idp-remote.php +++ b/drupal/simplesamlphp_auth/simplesamlphp/metadata/saml20-idp-remote.php @@ -1,4 +1,87 @@ 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/metadata', + 'contacts' => + array ( + ), + 'metadata-set' => 'saml20-idp-remote', + 'SingleSignOnService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', + 'Location' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/sso', + ), + 1 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', + 'Location' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/sso', + ), + ), + 'SingleLogoutService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', + 'Location' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/slo', + 'ResponseLocation' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/slo_return', + ), + 1 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', + 'Location' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/slo', + 'ResponseLocation' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/slo_return', + ), + 2 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', + 'Location' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/slo/soap', + ), + ), + 'ArtifactResolutionService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', + 'Location' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/artifact', + 'index' => 1, + ), + ), + 'keys' => + array ( + 0 => + array ( + 'encryption' => true, + 'signing' => true, + 'type' => 'X509Certificate', + 'X509Certificate' => 'MIIESzCCAzOgAwIBAgIJAIGfhecxtJ9DMA0GCSqGSIb3DQEBBQUAMHYxCzAJBgNV +BAYTAkZSMQ8wDQYDVQQIEwZGcmFuY2UxFDASBgNVBAcTC01vbnRwZWxsaWVyMRQw +EgYDVQQKEws6RW50cm91dmVydDEMMAoGA1UECxMDV2ViMRwwGgYJKoZIhvcNAQkB +Fg1yb290QG92ZWEuY29tMB4XDTEzMDgwODEzMDc0OVoXDTIzMDgwODEzMDc0OVow +djELMAkGA1UEBhMCRlIxDzANBgNVBAgTBkZyYW5jZTEUMBIGA1UEBxMLTW9udHBl +bGxpZXIxFDASBgNVBAoTCzpFbnRyb3V2ZXJ0MQwwCgYDVQQLE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Jp6VUXyhWx0N9VGpgw/WchjX9vor17UJmIa1Fb+DDwnc3KG+M=', + ), + ), +); + $metadata['https://idp-test-entrouvert.montpellier-agglo.com/idp/saml2/metadata'] = array ( 'entityid' => 'https://idp-test-entrouvert.montpellier-agglo.com/idp/saml2/metadata', 'contacts' =>