SAML 2.0 SP Metapodatki
Tu so metapodatki, ki jih je generiral SimpleSAMLphp. Dokument lahko pošljete zaupanja vrednim partnerjem, s katerimi boste ustvarili federacijo.
XML metapodatki se nahajajo na tem naslovu:
https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/metadata.php/foodle3
Metapodatki
V SAML 2.0 Metapodatkovni XML format:
<?xml version="1.0"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://ds.test-fed.arnes.si/sp2/20101221"> <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol"> <md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIICfzCCAegCCQCDz0FyZg6iJjANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMCU0kxEjAQBgNVBAcTCUxqdWJsamFuYTEOMAwGA1UEChMFQVJORVMxDDAKBgNVBAsTA0FBSTEdMBsGA1UEAxMUZHMudGVzdC1mZWQuYXJuZXMuc2kxIzAhBgkqhkiG9w0BCQEWFGFhYS1wb2Rwb3JhQGFybmVzLnNpMB4XDTA4MTExMjE0MTY1OFoXDTA5MDExMTE0MTY1OFowgYMxCzAJBgNVBAYTAlNJMRIwEAYDVQQHEwlManVibGphbmExDjAMBgNVBAoTBUFSTkVTMQwwCgYDVQQLEwNBQUkxHTAbBgNVBAMTFGRzLnRlc3QtZmVkLmFybmVzLnNpMSMwIQYJKoZIhvcNAQkBFhRhYWEtcG9kcG9yYUBhcm5lcy5zaTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3iNPXkIvcsHSnzK3CswJ3yKE2e1PJei/2/PBmYLt2s4dGgTJX0imCe1eGJPh5VV6pXi4ZiP/8kvBvmdvgNTIPI8CX7hBNnkjDkB6wlwc7fY+5lHocdYa3MST01Qo6jz/giNabrM3XIMmVBo/5ZC0RW/dk2exndF1fidoALvSC+0CAwEAATANBgkqhkiG9w0BAQUFAAOBgQB333SCmKeWKyNPjpsAA7D6i0vwvywiMj9cEAHZ6NNczsxN+d1MsDlTO2PvopywmdYdn4UQEpP+9eVnD4CzUpvjQ7fUi8N6dW5xYEWUR1kSaeKNv32sVKryuqi43oi71d5pm5inieD/BBhg314LHldPYiiXkXH/NutjrT//wt1GNw==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:KeyDescriptor use="encryption"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIICfzCCAegCCQCDz0FyZg6iJjANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMCU0kxEjAQBgNVBAcTCUxqdWJsamFuYTEOMAwGA1UEChMFQVJORVMxDDAKBgNVBAsTA0FBSTEdMBsGA1UEAxMUZHMudGVzdC1mZWQuYXJuZXMuc2kxIzAhBgkqhkiG9w0BCQEWFGFhYS1wb2Rwb3JhQGFybmVzLnNpMB4XDTA4MTExMjE0MTY1OFoXDTA5MDExMTE0MTY1OFowgYMxCzAJBgNVBAYTAlNJMRIwEAYDVQQHEwlManVibGphbmExDjAMBgNVBAoTBUFSTkVTMQwwCgYDVQQLEwNBQUkxHTAbBgNVBAMTFGRzLnRlc3QtZmVkLmFybmVzLnNpMSMwIQYJKoZIhvcNAQkBFhRhYWEtcG9kcG9yYUBhcm5lcy5zaTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3iNPXkIvcsHSnzK3CswJ3yKE2e1PJei/2/PBmYLt2s4dGgTJX0imCe1eGJPh5VV6pXi4ZiP/8kvBvmdvgNTIPI8CX7hBNnkjDkB6wlwc7fY+5lHocdYa3MST01Qo6jz/giNabrM3XIMmVBo/5ZC0RW/dk2exndF1fidoALvSC+0CAwEAATANBgkqhkiG9w0BAQUFAAOBgQB333SCmKeWKyNPjpsAA7D6i0vwvywiMj9cEAHZ6NNczsxN+d1MsDlTO2PvopywmdYdn4UQEpP+9eVnD4CzUpvjQ7fUi8N6dW5xYEWUR1kSaeKNv32sVKryuqi43oi71d5pm5inieD/BBhg314LHldPYiiXkXH/NutjrT//wt1GNw==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml2-logout.php/foodle3"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml2-acs.php/foodle3" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml1-acs.php/foodle3" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml2-acs.php/foodle3" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml1-acs.php/foodle3/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>ArnesAAI</md:GivenName> <md:EmailAddress>opozorila-aai@arnes.si</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
V SimpleSAMLphp "flat file" formatu - ta format uporabite, če uporabljate SimpleSAMLphp entiteto na drugi strani:
$metadata['https://ds.test-fed.arnes.si/sp2/20101221'] = array ( 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml2-logout.php/foodle3', ), ), 'AssertionConsumerService' => array ( 0 => array ( 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml2-acs.php/foodle3', ), 1 => array ( 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml1-acs.php/foodle3', ), 2 => array ( 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml2-acs.php/foodle3', ), 3 => array ( 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://ds.test-fed.arnes.si/simplesaml/module.php/saml/sp/saml1-acs.php/foodle3/artifact', ), ), 'contacts' => array ( 0 => array ( 'emailAddress' => 'opozorila-aai@arnes.si', 'contactType' => 'technical', 'givenName' => 'ArnesAAI', ), ), 'certData' => 'MIICfzCCAegCCQCDz0FyZg6iJjANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMCU0kxEjAQBgNVBAcTCUxqdWJsamFuYTEOMAwGA1UEChMFQVJORVMxDDAKBgNVBAsTA0FBSTEdMBsGA1UEAxMUZHMudGVzdC1mZWQuYXJuZXMuc2kxIzAhBgkqhkiG9w0BCQEWFGFhYS1wb2Rwb3JhQGFybmVzLnNpMB4XDTA4MTExMjE0MTY1OFoXDTA5MDExMTE0MTY1OFowgYMxCzAJBgNVBAYTAlNJMRIwEAYDVQQHEwlManVibGphbmExDjAMBgNVBAoTBUFSTkVTMQwwCgYDVQQLEwNBQUkxHTAbBgNVBAMTFGRzLnRlc3QtZmVkLmFybmVzLnNpMSMwIQYJKoZIhvcNAQkBFhRhYWEtcG9kcG9yYUBhcm5lcy5zaTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA3iNPXkIvcsHSnzK3CswJ3yKE2e1PJei/2/PBmYLt2s4dGgTJX0imCe1eGJPh5VV6pXi4ZiP/8kvBvmdvgNTIPI8CX7hBNnkjDkB6wlwc7fY+5lHocdYa3MST01Qo6jz/giNabrM3XIMmVBo/5ZC0RW/dk2exndF1fidoALvSC+0CAwEAATANBgkqhkiG9w0BAQUFAAOBgQB333SCmKeWKyNPjpsAA7D6i0vwvywiMj9cEAHZ6NNczsxN+d1MsDlTO2PvopywmdYdn4UQEpP+9eVnD4CzUpvjQ7fUi8N6dW5xYEWUR1kSaeKNv32sVKryuqi43oi71d5pm5inieD/BBhg314LHldPYiiXkXH/NutjrT//wt1GNw==', );