summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2013-08-01 07:48:05 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2013-08-01 07:48:05 (GMT)
commitafe7016670b2e9d29095d6c271625e0ab70ebb8d (patch)
treea5146aeb863a9a76a5cfa63441a475720402370a
parentc82a1c76d3aa7ee8c92e2bbc2b62fe3e02a6bec0 (diff)
downloadspip-saml-afe7016670b2e9d29095d6c271625e0ab70ebb8d.zip
spip-saml-afe7016670b2e9d29095d6c271625e0ab70ebb8d.tar.gz
spip-saml-afe7016670b2e9d29095d6c271625e0ab70ebb8d.tar.bz2
simplesamlphp: add recette configuration
-rw-r--r--inc/simplesamlphp/config/authsources.php1
-rw-r--r--inc/simplesamlphp/config/config.php2
-rw-r--r--inc/simplesamlphp/metadata/saml20-idp-remote.php76
3 files changed, 78 insertions, 1 deletions
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
+MRMwEQYDVQQKEwpFbnRyb3V2ZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
+CgKCAQEAvxFkfPdndlGgQPDZgFGXbrNAc/79PULZBuNdWFHDD9P5hNhZn9Kqm4Cp
+06Pe/A6u+g5wLnYvbZQcFCgfQAEzziJtb3J55OOlB7iMEI/T2AX2WzrUH8QT8NGh
+ABONKU2Gg4XiyeXNhH5R7zdHlUwcWq3ZwNbtbY0TVc+n665EbrfV/59xihSqsoFr
+kmBLH0CoepUXtAzA7WDYn8AzusIuMx3n8844pJwgxhTB7Gjuboptlz9Hri8JRdXi
+VT9OS9Wt69ubcNoM6zuKASmtm48UuGnhj8v6XwvbjKZrL9kA+xf8ziazZfvvw/VG
+Tm+IVFYB7d1x457jY5zjjXJvNysoowIDAQABo3YwdDAdBgNVHQ4EFgQUeF8ePnu0
+fcAK50iBQDgAhHkOu8kwRQYDVR0jBD4wPIAUeF8ePnu0fcAK50iBQDgAhHkOu8mh
+GaQXMBUxEzARBgNVBAoTCkVudHJvdXZlcnSCCQDVAaInJNaQ6TAMBgNVHRMEBTAD
+AQH/MA0GCSqGSIb3DQEBBQUAA4IBAQAy8l3GhUtpPHx0FxzbRHVaaUSgMwYKGPhE
+IdGhqekKUJIx8et4xpEMFBl5XQjBNq/mp5vO3SPb2h2PVSks7xWnG3cvEkqJSOeo
+fEEhkqnM45b2MH1S5uxp4i8UilPG6kmQiXU2rEUBdRk9xnRWos7epVivTSIv1Ncp
+lG6l41SXp6YgIb2ToT+rOKdIGIQuGDlzeR88fDxWEU0vEujZv/v1PE1YOV0xKjTT
+JumlBc6IViKhJeo1wiBBrVRIIkKKevHKQzteK8pWm9CYWculxT26TZ4VWzGbo06j
+o2zbumirrLLqnt1gmBDvDvlOwC/zAAyL4chbz66eQHTiIYZZvYgy',
+ ),
+ ),
+);
+