SAML 2.0 SP Metadata
SimpleSAMLphp har har genererat följande metadata. För att sätta upp en betrodd federation kan du skicka metadata till de parter du har förtroende för.
Du kan hämta metadata i XML-format på dedicerad URL:
https://kimlik.galata.edu.tr/simplesaml/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:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/metadata.php/default-sp"> <md:Extensions> <mdrpi:RegistrationInfo xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" registrationAuthority="urn:mace:galata.edu.tr"/> </md:Extensions> <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol"> <md:Extensions> <mdui:UIInfo xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"> <mdui:DisplayName xml:lang="tr">Galata Üniversitesi</mdui:DisplayName> <mdui:DisplayName xml:lang="en">Galata University</mdui:DisplayName> <mdui:Description xml:lang="tr">SAML servisi</mdui:Description> <mdui:Description xml:lang="en">A SMAL service</mdui:Description> <mdui:Logo width="300" height="110">https://ois.galata.edu.tr/images/auth_min_logo.png</mdui:Logo> </mdui:UIInfo> </md:Extensions> <md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>MIIERzCCAq+gAwIBAgIUHbk/nm7KDPAzDk/IHAsoJT8oN3MwDQYJKoZIhvcNAQELBQAwMzELMAkGA1UEBhMCVFIxETAPBgNVBAgMCElzdGFuYnVsMREwDwYDVQQHDAhJc3RhbmJ1bDAeFw0yMTA4MTkwODM2NTJaFw0zMTA4MTkwODM2N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3kFWdytYaeuPVmz8C15cvuj1ttqXcjTRyYpWZtC9xjU+pOiJy06NxmriVKfrei86Rc3IDUS2n54oxGEIH13zrzphcLNgx34ZcW/1o93/m2lXAk/Y90cf3VGu38oS11yQPbglX6RBh6YCONYsUdw21X6cXhbd4ZBfGGsFAnXuWGG5VUCEFbL+CtkMoEj4UzFxAEmXMQ2HXePkMVgOg==</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>MIIERzCCAq+gAwIBAgIUHbk/nm7KDPAzDk/IHAsoJT8oN3MwDQYJKoZIhvcNAQELBQAwMzELMAkGA1UEBhMCVFIxETAPBgNVBAgMCElzdGFuYnVsMREwDwYDVQQHDAhJc3RhbmJ1bDAeFw0yMTA4MTkwODM2NTJaFw0zMTA4MTkwODM2NTJaMDMxCzAJBgNVBAYTAlRSMREwDwYDVQQIDAhJc3RhbmJ1bDERMA8GA1UEBwwISXN0YW5idWwwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDsy9Cfx1iNBnjgcsoa/SGAI8mO8CuO1U9IoK90DaXUalJ8P4qptJ3nycr6LirbdjfDGc2n6NjvPtaaK8v7u5RD6Klz5hzbV/e8IJMcGe5t3Lkinwi+NwyHr/csU3BzOWvrYV5gAf35dK3Y2k0+y2UPmPOAQYyXadJF1EUncejKYMQt10duMSymGTw4YId+MXYPu3b4jtVW6t4aHOuyXJ/ZZ5+ohX2HxTVYcZC4eZsFWOSdjNM5Xolp1W5Iglb4ghN3+btK4F2VCMWX1An0SxIdv9Dbux2ACrvqufnuuqvqXNGRvyTUI4Cdg9m3cA5RrqXn4/GBiWsFGlEsxSZAl0G9yUtvT3UN1V6kIXprHroj/BWAA8dqCE0C3nJISYP/1TJoF85+kw8tn0RU1m2MW09ppbYT5JUyev0P8NBWaONQ4R2H7Kyv4t3LyI/v4QeQf/Mi/EFWPzbm3UqWT+RPaOvnJs+gv49QUZZlWOw/TifMdciUYai/68c3/lkjKGnnuNMCAwEAAaNTMFEwHQYDVR0OBBYEFJq1jcunzhIZJ5ECej5HCqeZvKybMB8GA1UdIwQYMBaAFJq1jcunzhIZJ5ECej5HCqeZvKybMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggGBAHoH+eFyGYl4cYQt6SAXlFfn793EIYejGfbMaett6YYSHaaOft23o4N1NGxx6us+a5KcBFeevl2o13xeyfyu0Ge3IXBmN8Iipc8L4ed4QjdLlaJnzbEapsQsZIoC9cojCPuX5izmbtln9EMVJrpUwoGzRLWvmR/JFstw1RnUHujJFlrZDRUInmq0CMVezL8W7ZRVkdJ0UdpNtk0hb6i14m5KqPceyArO68U4pCTcbftPZcuY5PMxk93ltaSMmO2tsn60+FO+fiI1noia34JiRCCDpZJHrjuSCKuyA9uBh1odGZPmS3kFWdytYaeuPVmz8C15cvuj1ttqXcjTRyYpWZtC9xjU+pOiJy06NxmriVKfrei86Rc3IDUS2n54oxGEIH13zrzphcLNgx34ZcW/1o93/m2lXAk/Y90cf3VGu38oS11yQPbglX6RBh6YCONYsUdw21X6cXhbd4ZBfGGsFAnXuWGG5VUCEFbL+CtkMoEj4UzFxAEmXMQ2HXePkMVgOg==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://kimlik.galata.edu.tr/simplesaml/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://kimlik.galata.edu.tr/simplesaml/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://kimlik.galata.edu.tr/simplesaml/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://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:Organization> <md:OrganizationName xml:lang="tr">Galata Üniversitesi</md:OrganizationName> <md:OrganizationName xml:lang="en">Galata University</md:OrganizationName> <md:OrganizationDisplayName xml:lang="tr">Galata Üniversitesi</md:OrganizationDisplayName> <md:OrganizationDisplayName xml:lang="en">Galata University</md:OrganizationDisplayName> <md:OrganizationURL xml:lang="tr">https://www.galata.edu.tr</md:OrganizationURL> <md:OrganizationURL xml:lang="en">https://www.galata.edu.tr/en</md:OrganizationURL> </md:Organization> <md:ContactPerson contactType="support"> <md:GivenName>İzzet</md:GivenName> <md:SurName>Sucu</md:SurName> <md:EmailAddress>mailto:izzet.sucu@galata.edu.tr</md:EmailAddress> </md:ContactPerson> <md:ContactPerson contactType="technical"> <md:GivenName>Administrator</md:GivenName> <md:EmailAddress>mailto:yetkim@galata.edu.tr</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
I filformatet för simpleSAML, använd detta detta format om SimpleSAMLphp används i mottagende sida:
$metadata['https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/metadata.php/default-sp'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://kimlik.galata.edu.tr/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ], ], 'OrganizationName' => [ 'tr' => 'Galata Üniversitesi', 'en' => 'Galata University', ], 'OrganizationDisplayName' => [ 'tr' => 'Galata Üniversitesi', 'en' => 'Galata University', ], 'OrganizationURL' => [ 'tr' => 'https://www.galata.edu.tr', 'en' => 'https://www.galata.edu.tr/en', ], 'contacts' => [ [ 'contactType' => 'support', 'emailAddress' => 'mailto:izzet.sucu@galata.edu.tr', 'givenName' => 'İzzet', 'surName' => 'Sucu', ], [ 'emailAddress' => 'yetkim@galata.edu.tr', 'contactType' => 'technical', 'givenName' => 'Administrator', ], ], 'certData' => 'MIIERzCCAq+gAwIBAgIUHbk/nm7KDPAzDk/IHAsoJT8oN3MwDQYJKoZIhvcNAQELBQAwMzELMAkGA1UEBhMCVFIxETAPBgNVBAgMCElzdGFuYnVsMREwDwYDVQQHDAhJc3RhbmJ1bDAeFw0yMTA4MTkwODM2NTJaFw0zMTA4MTkwODM2NTJaMDMxCzAJBgNVBAYTAlRSMREwDwYDVQQIDAhJc3RhbmJ1bDERMA8GA1UEBwwISXN0YW5idWwwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDsy9Cfx1iNBnjgcsoa/SGAI8mO8CuO1U9IoK90DaXUalJ8P4qptJ3nycr6LirbdjfDGc2n6NjvPtaaK8v7u5RD6Klz5hzbV/e8IJMcGe5t3Lkinwi+NwyHr/csU3BzOWv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egistrationPolicy' => [ 'tr' => 'https://www.galata.edu.tr', 'en' => 'https://www.galata.edu.tr', ], ], ];