From 78f9056921769d04f199ba7743894e90b8f32c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Wed, 4 Sep 2013 19:54:32 +0200 Subject: [PATCH] simplesamlphp: add development platform --- .../simplesamlphp/config/authsources.php | 2 + .../metadata/saml20-idp-remote.php | 76 +++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php b/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php index a17c02f..88d2f06 100644 --- a/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php +++ b/drupal/simplesamlphp_auth/simplesamlphp/config/authsources.php @@ -26,6 +26,8 @@ $config = array( 'idp' => 'https://compte-citoyen.montpellier-agglo.com/idp/saml2/metadata', // Recette // 'idp' => 'https://idp-test-entrouvert.montpellier-agglo.com/idp/saml2/metadata', + // Dev + // 'idp' => 'http://idp-montpellier.entrouvert.org/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 bb76a09..d8bb6ad 100644 --- a/drupal/simplesamlphp_auth/simplesamlphp/metadata/saml20-idp-remote.php +++ b/drupal/simplesamlphp_auth/simplesamlphp/metadata/saml20-idp-remote.php @@ -163,3 +163,79 @@ YsNo7sQaeTJNPlQ0ELi7XW/O1gdl3rkqBAtZusmBZQaYN9brS8III+Z1ZA==', ), ); +$metadata['http://idp-montpellier.entrouvert.org/idp/saml2/metadata'] = array ( + 'entityid' => 'http://idp-montpellier.entrouvert.org/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' => 'http://idp-montpellier.entrouvert.org/idp/saml2/sso', + ), + 1 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', + 'Location' => 'http://idp-montpellier.entrouvert.org/idp/saml2/sso', + ), + ), + 'SingleLogoutService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', + 'Location' => 'http://idp-montpellier.entrouvert.org/idp/saml2/slo', + 'ResponseLocation' => 'http://idp-montpellier.entrouvert.org/idp/saml2/slo_return', + ), + 1 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', + 'Location' => 'http://idp-montpellier.entrouvert.org/idp/saml2/slo', + 'ResponseLocation' => 'http://idp-montpellier.entrouvert.org/idp/saml2/slo_return', + ), + 2 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', + 'Location' => 'http://idp-montpellier.entrouvert.org/idp/saml2/slo/soap', + ), + ), + 'ArtifactResolutionService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', + 'Location' => 'http://idp-montpellier.entrouvert.org/idp/saml2/artifact', + 'index' => 1, + ), + ), + 'keys' => + array ( + 0 => + array ( + 'encryption' => true, + 'signing' => true, + 'type' => 'X509Certificate', + 'X509Certificate' => 'MIIDIzCCAgugAwIBAgIJANUBoick1pDpMA0GCSqGSIb3DQEBBQUAMBUxEzARBgNV +BAoTCkVudHJvdXZlcnQwHhcNMTAxMjE0MTUzMzAyWhcNMTEwMTEzMTUzMzAyWjAV +MRMwEQYDVQQKEwpFbnRyb3V2ZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB +CgKCAQEAvxFkfPdndlGgQPDZgFGXbrNAc/79PULZBuNdWFHDD9P5hNhZn9Kqm4Cp +06Pe/A6u+g5wLnYvbZQcFCgfQAEzziJtb3J55OOlB7iMEI/T2AX2WzrUH8QT8NGh +ABONKU2Gg4XiyeXNhH5R7zdHlUwcWq3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