Metadados SAML 2.0 SP
De seguida pode encontrar os metadados gerados pelo SimpleSAMLphp. Pode enviar este documento de metadados aos seus parceiros para configurar uma federação.
Pode obter os metadados em XML num URL dedicado:
https://www.kfki.hu/simplesaml/module.php/saml/sp/metadata.php/default-sp
Metadados
Metadados no formato XML SAML 2.0
<?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="http://www.kfki.hu/simplesaml/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>MIIDzTCCArWgAwIBAgIJAOPGzaYIwitlMA0GCSqGSIb3DQEBCwUAMH0xCzAJBgNVBAYTAkhVMREwDwYDVQQIDAhCdWRhcGVzdDERMA8GA1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5JSUYgSW50ZXpldDEUMBIGA1UEAwwLd3d3Lmtma2kuaHUxGzAZBgkqhkiG9w0BCQEWDGFhaUBuaWlmLmh1IDAeFw0xNzA1MDMwNjI3MzVaFw0yNzA1MDEwNjI3MzVaMH0xCzAJBgNVBAYTAkhVMREwDwYDVQQIDAhCdWRhcGVzdDERMA8GA1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5JSUYgSW50ZXpldDEUMBIGA1UEAwwLd3d3Lmtma2kuaHUxGzAZBgkqhkiG9w0BCQEWDGFhaUBuaWlmLmh1IDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALruQQa5v3Uvf/j8FL6hJ1vbDud0Nph8UnT+WdpR/HITDmyANuC5pspWZQXK8KlvdG5ZEfM99LXLZRrKxs+2z2ZqmR9FlHSv1ZngeYBPnChOZQoIy0bnZ1MZlsR+DQ6kxKsVatgEH2dMLsG40Ra6oUG5/au0kLZazfJOelBrJliraM9kdRxWTm/9Ft7MeXOORgDFYnJIseNT3spPJQWgvYC4mn5RmOSl2PJ1glCWts5keo/QQmXyc9MSwHT4k+WuBrQJpN14NRdK1yGZl9ovt8PgicZfZkYa6+/ETSA1vH9l/D3jxhUdSV8Ixtx/qdD/l2n8AnAHjVPofUlMLXJzafUCAwEAAaNQME4wHQYDVR0OBBYEFJaUH2H+EHpD/h8vyIOvnchR/AHaMB8GA1UdIwQYMBaAFJaUH2H+EHpD/h8vyIOvnchR/AHaMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAGyoi5sZND9kyowKYLWhqnAMQOzdDjPd9/WZyqlpasjOF22Shtw6k2jDH5RtEs/534nLPZ+tVZUBb/NCEgzwz693+2epjfswKcUxRcQKoLb/ykkBZk5+EMuJQhqC6PsppojzTP0GHObymVyUdlfAYLNZZg2hfxhQKUcbQDJ6wqMH4APG7PeCaGav8fZV5mu7fnt9tD5/CQiwiED+9k4fQZnVrjfVKawlF4ALPV/L/FXwK3e3RI5ah85/MciZYUpjZIH8u/c23qyKH4cpemFRGNX2TG1ASL41b8rGjJIHYM2nX8O1UurxKCrTyuHY6UOXpi4wx/FVhwkrAAVKYpv9svw=</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>MIIDzTCCArWgAwIBAgIJAOPGzaYIwitlMA0GCSqGSIb3DQEBCwUAMH0xCzAJBgNVBAYTAkhVMREwDwYDVQQIDAhCdWRhcGVzdDERMA8GA1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5JSUYgSW50ZXpldDEUMBIGA1UEAwwLd3d3Lmtma2kuaHUxGzAZBgkqhkiG9w0BCQEWDGFhaUBuaWlmLmh1IDAeFw0xNzA1MDMwNjI3MzVaFw0yNzA1MDE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fo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://www.kfki.hu/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://www.kfki.hu/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://www.kfki.hu/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://www.kfki.hu/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://www.kfki.hu/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://www.kfki.hu/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>MTA Wigner AAI</md:GivenName> <md:EmailAddress>aai@kfki.hu</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
Metadados no formato ficheiro de configuração do SimpleSAMLphp. Use esta alternativa se usar uma entidade SimpleSAMLphp no outro extremo:
$metadata['http://www.kfki.hu/simplesaml/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://www.kfki.hu/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp', ), 1 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', 'Location' => 'https://www.kfki.hu/simplesaml/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://www.kfki.hu/simplesaml/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://www.kfki.hu/simplesaml/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://www.kfki.hu/simplesaml/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://www.kfki.hu/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ), ), 'contacts' => array ( 0 => array ( 'emailAddress' => 'aai@kfki.hu', 'contactType' => 'technical', 'givenName' => 'MTA Wigner AAI', ), ), 'certData' => 'MIIDzTCCArWgAwIBAgIJAOPGzaYIwitlMA0GCSqGSIb3DQEBCwUAMH0xCzAJBgNVBAYTAkhVMREwDwYDVQQIDAhCdWRhcGVzdDERMA8GA1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5JSUYgSW50ZXpldDEUMBIGA1UEAwwLd3d3Lmtma2kuaHUxGzAZBgkqhkiG9w0BCQEWDGFhaUBuaWlmLmh1IDAeFw0xNzA1MDMwNjI3MzVaFw0yNzA1MDEwNjI3MzVaMH0xCzAJBgNVBAYTAkhVMREwDwYDVQQIDAhCdWRhcGVzdDERMA8GA1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5JSUYgSW50ZXpldDEUMBIGA1UEAwwLd3d3Lmtma2kuaHUxGzAZBgkqhkiG9w0BCQEWDGFhaUBuaWlmLmh1IDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALruQQa5v3Uvf/j8FL6hJ1vbDud0Nph8Un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