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://fmu.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://fmu.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>MIIDsTCCApmgAwIBAgIUa8esGA99zRN88aD5Z7jSDemo/JQwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZm11LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDUzMDE3NTU1MloXDTMwMDUyODE3NTU1MlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZm11LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApg7E8AEVY3b+7AOsquZD7KlnGlpCeD72i4LWOuYDvFE/MBTWqouh6o4cj2pX5gbwXavVgCmOAXK9nZoDjNvqdf/j4K+uEenAa8rLswKQ8OiQboCX+gtNPHZiZldxCp0R6bvg2o4ibaNyL0qv1gmThWtJ8k/llkE3pQKLUAx5s/ywm8Uq2gip9xDyQZobBp7qMzMS6pa2rEK+xHwqy1Gh+lOXLNSvoKFspMbfNjk7//1rVLQj63Sjp4wuAgnmbLIwZw+6rQvFqbnX91w29AX3u1mra0vOf4rQKLk+bfU15dmmArYrYQKKaaGGkK+Jj4dRjF5XLc3qKXh9c5lIl3Us/QIDAQABo1MwUTAdBgNVHQ4EFgQUWET+EN961j7Uz5M5/YUFedY2quYwHwYDVR0jBBgwFoAUWET+EN961j7Uz5M5/YUFedY2quYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAR+O0CbImzcdZDBSuHgRbg23tLYVSvaUlDEpCbRYhhNlSH1IRJqazJxExpA8m0NkVmsgXHSGi1+y2ak81GYKZVxNILAFbtmNJe+Zmqi4/vN7dv/iHemRhpnJF2nhZzfPVw6o1URkOeh6TPGuy+SYyv+/D/8qVhdw8zgOXNEb19saFNsycTmoMyUetBNx9BMveEpPBwoYKrl9WOxxMxrZswqqcw8HdAkesFmEqN/zhteRLzbtajmlilkQwl4nlRQphnOLtlXQ8p3irpc4O4curdxXYnXVlaPw4oLeBZK+wMNP9HxYVQWGsxotoPuYV6pwyT+nkJsi4yKnmUV+9VTlE/g==</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>MIIDsTCCApmgAwIBAgIUa8esGA99zRN88aD5Z7jSDemo/JQwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZm11LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDUzMDE3NTU1MloXDTMwMDUyODE3NTU1MlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZm11LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApg7E8AEVY3b+7AOsquZD7KlnGlpCeD72i4LWOuYDvFE/MBTWqouh6o4cj2pX5gbwXavVgCmOAXK9nZoDjNvqdf/j4K+uEenAa8rLswKQ8OiQboCX+gtNPHZiZldxCp0R6bvg2o4ibaNyL0qv1gmThWtJ8k/llkE3pQKLUAx5s/ywm8Uq2gip9xDyQZobBp7qMzMS6pa2rEK+xHwqy1Gh+lOXLNSvoKFspMbfNjk7//1rVLQj63Sjp4wuAgnmbLIwZw+6rQvFqbnX91w29AX3u1mra0vOf4rQKLk+bfU15dmmArYrYQKKaaGGkK+Jj4dRjF5XLc3qKXh9c5lIl3Us/QIDAQABo1MwUTAdBgNVHQ4EFgQUWET+EN961j7Uz5M5/YUFedY2quYwHwYDVR0jBBgwFoAUWET+EN961j7Uz5M5/YUFedY2quYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAR+O0CbImzcdZDBSuHgRbg23tLYVSvaUlDEpCbRYhhNlSH1IRJqazJxExpA8m0NkVmsgXHSGi1+y2ak81GYKZVxNILAFbtmNJe+Zmqi4/vN7dv/iHemRhpnJF2nhZzfPVw6o1URkOeh6TPGuy+SYyv+/D/8qVhdw8zgOXNEb19saFNsycTmoMyUetBNx9BMveEpPBwoYKrl9WOxxMxrZswqqcw8HdAkesFmEqN/zhteRLzbtajmlilkQwl4nlRQphnOLtlXQ8p3irpc4O4curdxXYnXVlaPw4oLeBZK+wMNP9HxYVQWGsxotoPuYV6pwyT+nkJsi4yKnmUV+9VTlE/g==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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://fmu.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' => 'MIIDsTCCApmgAwIBAgIUa8esGA99zRN88aD5Z7jSDemo/JQwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZm11LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDUzMDE3NTU1MloXDTMwMDUyODE3NTU1MlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZm11LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApg7E8AEVY3b+7AOsquZD7KlnGlpCeD72i4LWOuYDvFE/MBTWqouh6o4cj2pX5gbwXavVgCmOAXK9nZoDjNvqdf/j4K+uEenAa8rLswKQ8OiQboCX+gtNPHZiZldxCp0R6bvg2o4ibaNyL0qv1gmThWtJ8k/llkE3pQKLUAx5s/ywm8Uq2gip9xDyQZobBp7qMzMS6pa2rEK+xHwqy1Gh+lOXLNSvoKFspMbfNjk7//1rVLQj63Sjp4wuAgnmbLIwZw+6rQvFqbnX91w29AX3u1mra0vOf4rQKLk+bfU15dmmArYrYQKKaaGGkK+Jj4dRjF5XLc3qKXh9c5lIl3Us/QIDAQABo1MwUTAdBgNVHQ4EFgQUWET+EN961j7Uz5M5/YUFedY2quYwHwYDVR0jBBgwFoAUWET+EN961j7Uz5M5/YUFedY2quYwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAR+O0CbImzcdZDBSuHgRbg23tLYVSvaUlDEpCbRYhhNlSH1IRJqazJxExpA8m0NkVmsgXHSGi1+y2ak81GYKZVxNILAFbtmNJe+Zmqi4/vN7dv/iHemRhpnJF2nhZzfPVw6o1URkOeh6TPGuy+SYyv+/D/8qVhdw8zgOXNEb19saFNsycTmoMyUetBNx9BMveEpPBwoYKrl9WOxxMxrZswqqcw8HdAkesFmEqN/zhteRLzbtajmlilkQwl4nlRQphnOLtlXQ8p3irpc4O4curdxXYnXVlaPw4oLeBZK+wMNP9HxYVQWGsxotoPuYV6pwyT+nkJsi4yKnmUV+9VTlE/g==', );