SAML 2.0 tjenesteudbyders metadata
Her er det metadata, som SimpleSAMLphp har genereret. Du kan sende det til dem du stoler i forbindelse med oprettelsen af en føderation.
Du kan få metadata-xml her:
https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp
Metadata
I SAML 2.0 metadata 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://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp"> <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>MIIDuzCCAqOgAwIBAgIUV/6acINOJDxAidNd7vfbH1SJOVYwDQYJKoZIhvcNAQELBQAwbTELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEpMCcGA1UEAwwgc2Ytc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA1MTY1NDA5WhcNMzAwNDAzMTY1NDA5WjBtMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSkwJwYDVQQDDCBzZi1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO+LeAT08eK7RQqNAhdv2XExt4ERFfHzSsR3Fr9p3C9axVEl8morEjnVMi0YEI8EWtWqCK0a/Iv6a5S7dMBBNesL8x91jE30Y9rsvbb7QRchALWiuW8SqaCu3oQCrtntvvDd6gU8KVjFP8p+FomHoZMnUqXg2301KYFjO3yGY/KSzUPEdWBr/QxaMdsMMH24Ir36VbrBzrML0yEkqGbUgilUWGWickbmdse8UJAMeq7nL/rhvY7mpbI7Hx4kwOuvMLYLWCHxgq1f4f7HqxYSgt5cwAjiHzu6ZYFvyMEiFiO6RvpJda65CmEHUWalOmD2BOJSMgywQk5aTBVV20pL9RkCAwEAAaNTMFEwHQYDVR0OBBYEFGIpwV21qqPCmM9U5rPQxK2hhyCxMB8GA1UdIwQYMBaAFGIpwV21qqPCmM9U5rPQxK2hhyCxMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABg0HyZNmmv2gP3uZ031w/2gvzRFeMbf0zTIw0lWcdNYPesbPRBEPWYsZgd+V/jS86HKjeDNfEfYQYk264/4RVud2KyT845EMwws92AiT464Vep1UIGcXFKkQtUHmzJsLFPDGnyAV279KZCBfYyJkVJnnH4Mra+rf2UTb716LW5qb6skIHpfDocYwX9wHQw+jX9kajO2HgKwVDnSAJrda+MC6/0qrIUDaSyzgXi5Y0c9TDcEWrjRibqsjlO+cBfDSjqWFQybzrXs/tl8T6++gB+AVw9Wgm39A/pTUKT/JC+GDl9wTJSlaf+GYDPnKPp316VnM9r/bPE6Z/vjAta1n0M=</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>MIIDuzCCAqOgAwIBAgIUV/6acINOJDxAidNd7vfbH1SJOVYwDQYJKoZIhvcNAQELBQAwbTELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEpMCcGA1UEAwwgc2Ytc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA1MTY1NDA5WhcNMzAwNDAzMTY1NDA5WjBtMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSkwJwYDVQQDDCBzZi1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO+LeAT08eK7RQqNAhdv2XExt4ERFfHzSsR3Fr9p3C9axVEl8morEjnVMi0YEI8EWtWqCK0a/Iv6a5S7dMBBNesL8x91jE30Y9rsvbb7QRchALWiuW8SqaCu3oQCrtntvvDd6gU8KVjFP8p+FomHoZMnUqXg2301KYFjO3yGY/KSzUPEdWBr/QxaMdsMMH24Ir36VbrBzrML0yEkqGbUgilUWGWickbmdse8UJAMeq7nL/rhvY7mpbI7Hx4kwOuvMLYLWCHxgq1f4f7HqxYSgt5cwAjiHzu6ZYFvyMEiFiO6RvpJda65CmEHUWalOmD2BOJSMgywQk5aTBVV20pL9RkCAwEAAaNTMFEwHQYDVR0OBBYEFGIpwV21qqPCmM9U5rPQxK2hhyCxMB8GA1UdIwQYMBaAFGIpwV21qqPCmM9U5rPQxK2hhyCxMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABg0HyZNmmv2gP3uZ031w/2gvzRFeMbf0zTIw0lWcdNYPesbPRBEPWYsZgd+V/jS86HKjeDNfEfYQYk264/4RVud2KyT845EMwws92AiT464Vep1UIGcXFKkQtUHmzJsLFPDGnyAV279KZCBfYyJkVJnnH4Mra+rf2UTb716LW5qb6skIHpfDocYwX9wHQw+jX9kajO2HgKwVDnSAJrda+MC6/0qrIUDaSyzgXi5Y0c9TDcEWrjRibqsjlO+cBfDSjqWFQybzrXs/tl8T6++gB+AVw9Wgm39A/pTUKT/JC+GDl9wTJSlaf+GYDPnKPp316VnM9r/bPE6Z/vjAta1n0M=</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-acs.php/default-sp" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-acs.php/default-sp" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>FINKI</md:GivenName> <md:SurName>FCC</md:SurName> <md:EmailAddress>fcc@finki.ukim.mk</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
I SimpleSAMLphp flat-file format - brug dette hvis du også bruger SimpleSAMLphp i den anden ende;
$metadata['https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp'] = array ( 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-logout.php/default-sp', ), ), 'AssertionConsumerService' => array ( 0 => array ( 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-acs.php/default-sp', ), 1 => array ( 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp', ), 2 => array ( 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml2-acs.php/default-sp', ), 3 => array ( 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://sf-staff.idp-proxy.finki.ukim.mk/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ), ), 'contacts' => array ( 0 => array ( 'emailAddress' => 'fcc@finki.ukim.mk', 'contactType' => 'technical', 'givenName' => 'FINKI', 'surName' => 'FCC', ), ), 'certData' => 'MIIDuzCCAqOgAwIBAgIUV/6acINOJDxAidNd7vfbH1SJOVYwDQYJKoZIhvcNAQELBQAwbTELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEpMCcGA1UEAwwgc2Ytc3RhZmYuaWRwLXByb3h5LmZpbmtpLnVraW0ubWswHhcNMjAwNDA1MTY1NDA5WhcNMzAwNDAzMTY1NDA5WjBtMQswCQYDVQQGEwJNSzETMBEGA1UECAwKU29tZS1TdGF0ZTEPMA0GA1UEBwwGU2tvcGplMQ0wCwYDVQQKDARVS0lNMSkwJwYDVQQDDCBzZi1zdGFmZi5pZHAtcHJveHkuZmlua2kudWtpbS5tazCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO+LeAT08eK7RQqNAhdv2XExt4ERFfHzSsR3Fr9p3C9axVEl8morEjnVMi0YEI8EWtWqCK0a/Iv6a5S7dMBBNesL8x91jE30Y9rsvbb7QRchALWiuW8SqaCu3oQCrtntvvDd6gU8KVjFP8p+FomHoZMnUqXg2301KYFjO3yGY/KSzUPEdWBr/QxaMdsMMH24Ir36VbrBzrML0yEkqGbUgilUWGWickbmdse8UJAMeq7nL/rhvY7mpbI7Hx4kwOuvMLYLWCHxgq1f4f7HqxYSgt5cwAjiHzu6ZYFvyMEiFiO6RvpJda65CmEHUWalOmD2BOJSMgywQk5aTBVV20pL9RkCAwEAAaNTMFEwHQYDVR0OBBYEFGIpwV21qqPCmM9U5rPQxK2hhyCxMB8GA1UdIwQYMBaAFGIpwV21qqPCmM9U5rPQxK2hhyCxMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBABg0HyZNmmv2gP3uZ031w/2gvzRFeMbf0zTIw0lWcdNYPesbPRBEPWYsZgd+V/jS86HKjeDNfEfYQYk264/4RVud2KyT845EMwws92AiT464Vep1UIGcXFKkQtUHmzJsLFPDGnyAV279KZCBfYyJkVJnnH4Mra+rf2UTb716LW5qb6skIHpfDocYwX9wHQw+jX9kajO2HgKwVDnSAJrda+MC6/0qrIUDaSyzgXi5Y0c9TDcEWrjRibqsjlO+cBfDSjqWFQybzrXs/tl8T6++gB+AVw9Wgm39A/pTUKT/JC+GDl9wTJSlaf+GYDPnKPp316VnM9r/bPE6Z/vjAta1n0M=', );