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://flf.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://flf.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>MIIDnzCCAoegAwIBAgIUWYp0LIpcXvnVrPdnS1EeCz19FAIwDQYJKoZIhvcNAQELBQAwXzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmxmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDMzMDE3MzEwMFoXDTMwMDMyODE3MzEwMFowXzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmxmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA12eIc/797dOwe430jFAOLXs2FaXgkRRiWcwXmeoRv8Z15pKYlATzvhK47lfTTY3LtMEZDJrxkO+Wn1aL6s04AZAbMQ0BoX84Y8uU6Smb8ZkwNG20tfQ5fJyH4XWf1KMdgO36Hd2Zzl+R7GwGHan7N94/+3JyBI7ZIfGBlk3judEvnqpZULUP7Yp3s2Wj6cH3dCoDBksuS++zXaHDdlBYLykPXJCJmuIXI4FbNp9s5aKKaD7b+fuhO+gZQcOwciyd7tjxJzDAm410qh3NAEvwqgyQB3N3yMfHUMLoNDhaty+4gA/w2NpANuVqAzxmUWnOjEl4GV0bK8DgnwrqriI7fwIDAQABo1MwUTAdBgNVHQ4EFgQUtUfpxFOcwmxkNfGV7YykyGU+rqkwHwYDVR0jBBgwFoAUtUfpxFOcwmxkNfGV7YykyGU+rqkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAYWmT+ZRraFY0Y3IHOvu67pybea7IPzeeY+ni25bVmYLUsG8TwZGcw85fUs9OUTjRVoPltRwJQjqjSM4hnnH/nZoxYA/9eqUsZTw709LcGj5GIWXLnnTf1Dkbj2C32I5Zjziwmg4trZ8MHnnoU3gZg5tpNYqI5+z/cBRifGJghfep9n89eDXifxlcCAVfunK6KgNNWa2Up4r0vSzZMWg14mR83XP7EANdD+jtgd0s++Nb84h8adi8vpj5ypf47sREARh6HyzK5IgjQ/i9cABO9NyzWX6Q5XZ2dlZh1tlixFhXXZfZntxrsUXqIUKf1B1tNnSkDsykgkk+D6Ki2isQtQ==</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>MIIDnzCCAoegAwIBAgIUWYp0LIpcXvnVrPdnS1EeCz19FAIwDQYJKoZIhvcNAQELBQAwXzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmxmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDMzMDE3MzEwMFoXDTMwMDMyODE3MzEwMFowXzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmxmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA12eIc/797dOwe430jFAOLXs2FaXgkRRiWcwXmeoRv8Z15pKYlATzvhK47lfTTY3LtMEZDJrxkO+Wn1aL6s04AZAbMQ0BoX84Y8uU6Smb8ZkwNG20tfQ5fJyH4XWf1KMdgO36Hd2Zzl+R7GwGHan7N94/+3JyBI7ZIfGBlk3judEvnqpZULUP7Yp3s2Wj6cH3dCoDBksuS++zXaHDdlBYLykPXJCJmuIXI4FbNp9s5aKKaD7b+fuhO+gZQcOwciyd7tjxJzDAm410qh3NAEvwqgyQB3N3yMfHUMLoNDhaty+4gA/w2NpANuVqAzxmUWnOjEl4GV0bK8DgnwrqriI7fwIDAQABo1MwUTAdBgNVHQ4EFgQUtUfpxFOcwmxkNfGV7YykyGU+rqkwHwYDVR0jBBgwFoAUtUfpxFOcwmxkNfGV7YykyGU+rqkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAYWmT+ZRraFY0Y3IHOvu67pybea7IPzeeY+ni25bVmYLUsG8TwZGcw85fUs9OUTjRVoPltRwJQjqjSM4hnnH/nZoxYA/9eqUsZTw709LcGj5GIWXLnnTf1Dkbj2C32I5Zjziwmg4trZ8MHnnoU3gZg5tpNYqI5+z/cBRifGJghfep9n89eDXifxlcCAVfunK6KgNNWa2Up4r0vSzZMWg14mR83XP7EANdD+jtgd0s++Nb84h8adi8vpj5ypf47sREARh6HyzK5IgjQ/i9cABO9NyzWX6Q5XZ2dlZh1tlixFhXXZfZntxrsUXqIUKf1B1tNnSkDsykgkk+D6Ki2isQtQ==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://flf.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://flf.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://flf.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://flf.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://flf.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://flf.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://flf.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://flf.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://flf.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://flf.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://flf.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' => 'MIIDnzCCAoegAwIBAgIUWYp0LIpcXvnVrPdnS1EeCz19FAIwDQYJKoZIhvcNAQELBQAwXzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmxmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDMzMDE3MzEwMFoXDTMwMDMyODE3MzEwMFowXzELMAkGA1UEBhMCTUsxCjAIBgNVBAgMASAxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmxmLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA12eIc/797dOwe430jFAOLXs2FaXgkRRiWcwXmeoRv8Z15pKYlATzvhK47lfTTY3LtMEZDJrxkO+Wn1aL6s04AZAbMQ0BoX84Y8uU6Smb8ZkwNG20tfQ5fJyH4XWf1KMdgO36Hd2Zzl+R7GwGHan7N94/+3JyBI7ZIfGBlk3judEvnqpZULUP7Yp3s2Wj6cH3dCoDBksuS++zXaHDdlBYLykPXJCJmuIXI4FbNp9s5aKKaD7b+fuhO+gZQcOwciyd7tjxJzDAm410qh3NAEvwqgyQB3N3yMfHUMLoNDhaty+4gA/w2NpANuVqAzxmUWnOjEl4GV0bK8DgnwrqriI7fwIDAQABo1MwUTAdBgNVHQ4EFgQUtUfpxFOcwmxkNfGV7YykyGU+rqkwHwYDVR0jBBgwFoAUtUfpxFOcwmxkNfGV7YykyGU+rqkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAYWmT+ZRraFY0Y3IHOvu67pybea7IPzeeY+ni25bVmYLUsG8TwZGcw85fUs9OUTjRVoPltRwJQjqjSM4hnnH/nZoxYA/9eqUsZTw709LcGj5GIWXLnnTf1Dkbj2C32I5Zjziwmg4trZ8MHnnoU3gZg5tpNYqI5+z/cBRifGJghfep9n89eDXifxlcCAVfunK6KgNNWa2Up4r0vSzZMWg14mR83XP7EANdD+jtgd0s++Nb84h8adi8vpj5ypf47sREARh6HyzK5IgjQ/i9cABO9NyzWX6Q5XZ2dlZh1tlixFhXXZfZntxrsUXqIUKf1B1tNnSkDsykgkk+D6Ki2isQtQ==', );