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://fdu.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp
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://fdu.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>MIIDsTCCApmgAwIBAgIUR9zq3QDTjh15tKSk6iBEb9wmdWYwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmR1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwMTExNDM0MloXDTMwMDMzMDExNDM0MlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmR1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+9CsBl5aZWeazb4Rpud4yRenhgTNaUsLAc/cZATEwio/1xV5UM+sAIuuxVk062dgiiXQC6DMr1X2owVKf3FKKfACBJV7eSkNRCMM1ZRY2SyqW4ZyT2eCHbAmnzNqO97JkOywecABf8sO0PFM/ODmB2LluQl/cJOVRbN6sWYSPceYXhh6X7uDbqM8dKvYx/j1MjQCGt/hXWHv/3LPZcbrlyU9xe6re8tQIgjiSdrnGLku83tnZKJxme1SNL9lf6CiaRVQf80O1sxgwhsx0374iEfBICQCCy0ejS0+nUGmVY/xh3HCoE+fHUDCkX7pYeHhoXpLKoZqvO5vdGE522cHwIDAQABo1MwUTAdBgNVHQ4EFgQU8BTO2vhAEG2IdBzLLwZeXZ6vddIwHwYDVR0jBBgwFoAU8BTO2vhAEG2IdBzLLwZeXZ6vddIwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAT0iddoQG7JRjx8bsO4nMN+uLASKV/E0xFe8AMzdg0L561kTXfCvf7RFverDWioOxenrsH2Q6eL4r0m2LZhIqi2dDMxkuu/guRqFs4nd9tQMgA/+rJVONVM2/hUKPr2y7f9KBwwNpF96/5AStTKERChDoBbtAofJ4wtihSv1TwDvi3FUo159MTnN7FJlC9rDC+FFhle93fohhSgs3vtffUMUAEZup9xCgm1/SruMsW/epeGSy2xGGkyv6cLG0LpwC6+P9g49uULJUSO/JfvB3Pv460I+vDEabzSB7Gu881HnCD0/uVDFsQPMEMavNiW022RRpyO8TsjWNNAET8POnSg==</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>MIIDsTCCApmgAwIBAgIUR9zq3QDTjh15tKSk6iBEb9wmdWYwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmR1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwMTExNDM0MloXDTMwMDMzMDExNDM0MlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmR1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+9CsBl5aZWeazb4Rpud4yRenhgTNaUsLAc/cZATEwio/1xV5UM+sAIuuxVk062dgiiXQC6DMr1X2owVKf3FKKfACBJV7eSkNRCMM1ZRY2SyqW4ZyT2eCHbAmnzNqO97JkOywecABf8sO0PFM/ODmB2LluQl/cJOVRbN6sWYSPceYXhh6X7uDbqM8dKvYx/j1MjQCGt/hXWHv/3LPZcbrlyU9xe6re8tQIgjiSdrnGLku83tnZKJxme1SNL9lf6CiaRVQf80O1sxgwhsx0374iEfBICQCCy0ejS0+nUGmVY/xh3HCoE+fHUDCkX7pYeHhoXpLKoZqvO5vdGE522cHwIDAQABo1MwUTAdBgNVHQ4EFgQU8BTO2vhAEG2IdBzLLwZeXZ6vddIwHwYDVR0jBBgwFoAU8BTO2vhAEG2IdBzLLwZeXZ6vddIwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAT0iddoQG7JRjx8bsO4nMN+uLASKV/E0xFe8AMzdg0L561kTXfCvf7RFverDWioOxenrsH2Q6eL4r0m2LZhIqi2dDMxkuu/guRqFs4nd9tQMgA/+rJVONVM2/hUKPr2y7f9KBwwNpF96/5AStTKERChDoBbtAofJ4wtihSv1TwDvi3FUo159MTnN7FJlC9rDC+FFhle93fohhSgs3vtffUMUAEZup9xCgm1/SruMsW/epeGSy2xGGkyv6cLG0LpwC6+P9g49uULJUSO/JfvB3Pv460I+vDEabzSB7Gu881HnCD0/uVDFsQPMEMavNiW022RRpyO8TsjWNNAET8POnSg==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://fdu.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://fdu.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://fdu.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://fdu.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://fdu.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>
V SimpleSAMLphp "flat file" formatu - ta format uporabite, če uporabljate SimpleSAMLphp entiteto na drugi strani:
$metadata['https://fdu.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://fdu.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://fdu.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://fdu.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://fdu.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://fdu.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' => 'MIIDsTCCApmgAwIBAgIUR9zq3QDTjh15tKSk6iBEb9wmdWYwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmR1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwMTExNDM0MloXDTMwMDMzMDExNDM0MlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmR1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+9CsBl5aZWeazb4Rpud4yRenhgTNaUsLAc/cZATEwio/1xV5UM+sAIuuxVk062dgiiXQC6DMr1X2owVKf3FKKfACBJV7eSkNRCMM1ZRY2SyqW4ZyT2eCHbAmnzNqO97JkOywecABf8sO0PFM/ODmB2LluQl/cJOVRbN6sWYSPceYXhh6X7uDbqM8dKvYx/j1MjQCGt/hXWHv/3LPZcbrlyU9xe6re8tQIgjiSdrnGLku83tnZKJxme1SNL9lf6CiaRVQf80O1sxgwhsx0374iEfBICQCCy0ejS0+nUGmVY/xh3HCoE+fHUDCkX7pYeHhoXpLKoZqvO5vdGE522cHwIDAQABo1MwUTAdBgNVHQ4EFgQU8BTO2vhAEG2IdBzLLwZeXZ6vddIwHwYDVR0jBBgwFoAU8BTO2vhAEG2IdBzLLwZeXZ6vddIwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAT0iddoQG7JRjx8bsO4nMN+uLASKV/E0xFe8AMzdg0L561kTXfCvf7RFverDWioOxenrsH2Q6eL4r0m2LZhIqi2dDMxkuu/guRqFs4nd9tQMgA/+rJVONVM2/hUKPr2y7f9KBwwNpF96/5AStTKERChDoBbtAofJ4wtihSv1TwDvi3FUo159MTnN7FJlC9rDC+FFhle93fohhSgs3vtffUMUAEZup9xCgm1/SruMsW/epeGSy2xGGkyv6cLG0LpwC6+P9g49uULJUSO/JfvB3Pv460I+vDEabzSB7Gu881HnCD0/uVDFsQPMEMavNiW022RRpyO8TsjWNNAET8POnSg==', );