From afe7016670b2e9d29095d6c271625e0ab70ebb8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Thu, 1 Aug 2013 09:48:05 +0200 Subject: [PATCH] simplesamlphp: add recette configuration --- inc/simplesamlphp/config/authsources.php | 1 + inc/simplesamlphp/config/config.php | 2 +- .../metadata/saml20-idp-remote.php | 76 +++++++++++++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) diff --git a/inc/simplesamlphp/config/authsources.php b/inc/simplesamlphp/config/authsources.php index 223c36e..24518c0 100644 --- a/inc/simplesamlphp/config/authsources.php +++ b/inc/simplesamlphp/config/authsources.php @@ -22,6 +22,7 @@ $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://mon-meyzieu.recette.entrouvert.com/idp/saml2/metadata', 'idp' => 'https://mon.meyzieu.fr/idp/saml2/metadata', // The URL to the discovery service. diff --git a/inc/simplesamlphp/config/config.php b/inc/simplesamlphp/config/config.php index 989d84b..38f1a1a 100644 --- a/inc/simplesamlphp/config/config.php +++ b/inc/simplesamlphp/config/config.php @@ -89,7 +89,7 @@ $config = array ( * also as the technical contact in generated metadata. */ 'technicalcontact_name' => 'Administrator', - 'technicalcontact_email' => 'na@example.org', + 'technicalcontact_email' => 'jschneider@entrouvert.com', /* * The timezone of the server. This option should be set to the timezone you want diff --git a/inc/simplesamlphp/metadata/saml20-idp-remote.php b/inc/simplesamlphp/metadata/saml20-idp-remote.php index be293b0..6b6aa6e 100644 --- a/inc/simplesamlphp/metadata/saml20-idp-remote.php +++ b/inc/simplesamlphp/metadata/saml20-idp-remote.php @@ -76,3 +76,79 @@ o2zbumirrLLqnt1gmBDvDvlOwC/zAAyL4chbz66eQHTiIYZZvYgy', ), ); +$metadata['https://mon-meyzieu.recette.entrouvert.com/idp/saml2/metadata'] = array ( + 'entityid' => 'https://mon-meyzieu.recette.entrouvert.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://mon-meyzieu.recette.entrouvert.com/idp/saml2/sso', + ), + 1 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', + 'Location' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/sso', + ), + ), + 'SingleLogoutService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', + 'Location' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/slo', + 'ResponseLocation' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/slo_return', + ), + 1 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', + 'Location' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/slo', + 'ResponseLocation' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/slo_return', + ), + 2 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', + 'Location' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/slo/soap', + ), + ), + 'ArtifactResolutionService' => + array ( + 0 => + array ( + 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', + 'Location' => 'https://mon-meyzieu.recette.entrouvert.com/idp/saml2/artifact', + 'index' => 1, + ), + ), + 'keys' => + array ( + 0 => + array ( + 'encryption' => true, + 'signing' => true, + 'type' => 'X509Certificate', + 'X509Certificate' => 'MIIDIzCCAgugAwIBAgIJANUBoick1pDpMA0GCSqGSIb3DQEBBQUAMBUxEzARBgNV +BAoTCkVudHJvdXZlcnQwHhcNMTAxMjE0MTUzMzAyWhcNMTEwMTEzMTUzMzAyWjAV +MRMwEQYDVQQKEwpFbnRyb3V2ZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AM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