SAML 2.0 SP metaandmed
Need on SimpleSAMLphp poolt sulle genereeritud metaandmed. Võid saata need metaandmed usaldatavatele partneritele usaldatava föderatsiooni loomiseks.
Metaandmete XML-i on võimalik saada spetsiaalselt aadressilt:
https://fvm.idp-proxy.finki.ukim.mk/module.php/saml/sp/metadata.php/default-sp
Metaandmed
SAML 2.0 metaandmete XML-vormingus:
<?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://fvm.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>MIIDsTCCApmgAwIBAgIUIUVAsb43ROo3EuSbUMRAn0NC29kwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZnZtLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwNTE3MjkyNloXDTMwMDQwMzE3MjkyNlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZnZtLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAye+8EvQ1nHa+iU+g4TIlBzI8JH45qRDVrL2yrxzEUDNq8o5fuWC4UkjG9JFPeHo9yDN3CFFoczWQ6F9mBgZIEEEd3trl3VwZNgzVMSKoNgeviUQQMXCs2wHAVLSqK4+CGfhrWBfvQfT9d9G3Gdm57EwGU1JaTTfesD0sfv/XOMG1GGazZ+rZxC1Jr7FxR1VsBTWLVbEYMkH+Wr7JH74RkLAtCO9w0WN6/YJinK2vD+4bVr42sMQTnK8FUbApwGLBM0Chw/4zfQICGsLYnZHYap3OoaAvTnuFRDb0a+8utc06ZjBXLQRr3vvz6Qj/gYTl/helP85zhgx4/OgVsgXiFQIDAQABo1MwUTAdBgNVHQ4EFgQUOYaXfMB5cG4oulcc6PBo3RnVQNswHwYDVR0jBBgwFoAUOYaXfMB5cG4oulcc6PBo3RnVQNswDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAPVvEg+Nmiu4Ojhp2JbPrWd2n7h0FOb+ePhyunbjEwCFApPYtyyldMzirAYmn56tb1QaHciyYy4hQhwOCAJ8udsj6iD+eyHAMGurIHyn9hIeFuG7n4LPjkizw6qejBFN+TSVOuQR34LVCGFcitWlQ0ytY9kF0JwSG6wseafAkTQlZh2VyvRwkhBmks9cJTMUXxDQ+9CXalULM2a8Rl5KlRUfXbdc8L5B54ffBZevj/rfF9+Q7LyQFyZbznQlGIjncfYhFOXhVFJjmy2idaXNn7MlT+dnzgdtC/rg9Br9e6+we/cg/CKAoPZMHRCrbXfmmlY/HJnnwHzmU2r2U+B3ZLg==</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>MIIDsTCCApmgAwIBAgIUIUVAsb43ROo3EuSbUMRAn0NC29kwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZnZtLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwNTE3MjkyNloXDTMwMDQwMzE3MjkyNlowaDELMAkGA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urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://fvm.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://fvm.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://fvm.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://fvm.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://fvm.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>
SimpleSAMLphp formaadis: kasuta seda siis, kui ka teine pool kasutab SimpleSAMLphp-d:
$metadata['https://fvm.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://fvm.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://fvm.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://fvm.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://fvm.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://fvm.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' => 'MIIDsTCCApmgAwIBAgIUIUVAsb43ROo3EuSbUMRAn0NC29kwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZnZtLmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMDQwNTE3MjkyNloXDTMwMDQwMzE3MjkyNlowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZnZtLmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAye+8EvQ1nHa+iU+g4TIlBzI8JH45qRDVrL2yrxzEUDNq8o5fuWC4UkjG9JFPeHo9yDN3CFFoczWQ6F9mBgZIEEEd3trl3VwZNgzVMSKoNgeviUQQMXCs2wHAVLSqK4+CGfhrWBfvQfT9d9G3Gdm57EwGU1JaTTfesD0sfv/XOMG1GGazZ+rZxC1Jr7FxR1VsBTWLVbEYMkH+Wr7JH74RkLAtCO9w0WN6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