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://flu.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://flu.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>MIIDsTCCApmgAwIBAgIUYgZHSkBuyL7Dy6nZ37RNA9w+c/YwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmx1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMTIxNzE3MTUwOVoXDTMwMTIxNTE3MTUwOVowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmx1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxKe04lutSVp+OLK2lxjCvHYkWfykHZn409jY6g6lssWI1NDDC92t4Bz7jpaPks64PdzpoQjPf4fVAErBVL8NJan7ffFoiVWJs31Y19YlGdT2/AmCEyDmY9aPJzAjUX4qu8FS6d6KvoJFaQbJ2YNqCz967ZHvZ2ORftiI6MRC+r2GB2+IlGuWpGkgCDowQC7MLvKu5lmAUItuzLUFnelTGWnQq2gjUjrpOg2YoHEV5qrYiuog54MWFJKBcz3gIQLNwjrVpiFtccyDQHfW6R24or4eg9kvYssyGb/uWXFqkDTAI4eYQxgjFkiaff2xm8hsFi+gh4Lu+U/O8hwAQlCYzQIDAQABo1MwUTAdBgNVHQ4EFgQUVJ8952kOH/5tyn7fzpCDqKKJJZkwHwYDVR0jBBgwFoAUVJ8952kOH/5tyn7fzpCDqKKJJZkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAWx+ba0ho76zTx4pTT78JJPF71to3dWOm4HplTtAGvpu13NkNbmOdjAogN4ly/AOrJUbuP+S2ojUFYBxn4ZwZEETWkWhccIHV0IuQp4bxn+J2DOi4N7ZmRc3ctCE83kap/blDU9EP6qpbAQKC8tZyN6VtXJPv5bXJYswgMkLpiJGbb10frItZBOQt4gQTjiHdR1Ift2sKW0nR/JDNUGI3ctylFspJgNMzWAkaEtkhx3ylrJStD2ir62zMSwEJmmGBGlcvNnWjRbEu/ot8GfNfxMs0WVqimCAaTW7zthoKnJPGqa6RmheBjGiHOhyWuZMluhlwVPFmL0OcEk2wihS/Lg==</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>MIIDsTCCApmgAwIBAgIUYgZHSkBuyL7Dy6nZ37RNA9w+c/YwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmx1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMTIxNzE3MTUwOVoXDTMwMTIxNTE3MTUwOVowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmx1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxKe04lutSVp+OLK2lxjCvHYkWfykHZn409jY6g6lssWI1NDDC92t4Bz7jpaPks64PdzpoQjPf4fVAErBVL8NJan7ffFoiVWJs31Y19YlGdT2/AmCEyDmY9aPJzAjUX4qu8FS6d6KvoJFaQbJ2YNqCz967ZHvZ2ORftiI6MRC+r2GB2+IlGuWpGkgCDowQC7MLvKu5lmAUItuzLUFnelTGWnQq2gjUjrpOg2YoHEV5qrYiuog54MWFJKBcz3gIQLNwjrVpiFtccyDQHfW6R24or4eg9kvYssyGb/uWXFqkDTAI4eYQxgjFkiaff2xm8hsFi+gh4Lu+U/O8hwAQlCYzQIDAQABo1MwUTAdBgNVHQ4EFgQUVJ8952kOH/5tyn7fzpCDqKKJJZkwHwYDVR0jBBgwFoAUVJ8952kOH/5tyn7fzpCDqKKJJZkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAWx+ba0ho76zTx4pTT78JJPF71to3dWOm4HplTtAGvpu13NkNbmOdjAogN4ly/AOrJUbuP+S2ojUFYBxn4ZwZEETWkWhccIHV0IuQp4bxn+J2DOi4N7ZmRc3ctCE83kap/blDU9EP6qpbAQKC8tZyN6VtXJPv5bXJYswgMkLpiJGbb10frItZBOQt4gQTjiHdR1Ift2sKW0nR/JDNUGI3ctylFspJgNMzWAkaEtkhx3ylrJStD2ir62zMSwEJmmGBGlcvNnWjRbEu/ot8GfNfxMs0WVqimCAaTW7zthoKnJPGqa6RmheBjGiHOhyWuZMluhlwVPFmL0OcEk2wihS/Lg==</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://flu.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://flu.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://flu.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://flu.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://flu.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://flu.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://flu.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://flu.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://flu.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://flu.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://flu.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' => 'MIIDsTCCApmgAwIBAgIUYgZHSkBuyL7Dy6nZ37RNA9w+c/YwDQYJKoZIhvcNAQELBQAwaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmx1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMB4XDTIwMTIxNzE3MTUwOVoXDTMwMTIxNTE3MTUwOVowaDELMAkGA1UEBhMCTUsxEzARBgNVBAgMClNvbWUtU3RhdGUxDzANBgNVBAcMBlNrb3BqZTENMAsGA1UECgwEVUtJTTEkMCIGA1UEAwwbZmx1LmlkcC1wcm94eS5maW5raS51a2ltLm1rMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxKe04lutSVp+OLK2lxjCvHYkWfykHZn409jY6g6lssWI1NDDC92t4Bz7jpaPks64PdzpoQjPf4fVAErBVL8NJan7ffFoiVWJs31Y19YlGdT2/AmCEyDmY9aPJzAjUX4qu8FS6d6KvoJFaQbJ2YNqCz967ZHvZ2ORftiI6MRC+r2GB2+IlGuWpGkgCDowQC7MLvKu5lmAUItuzLUFnelTGWnQq2gjUjrpOg2YoHEV5qrYiuog54MWFJKBcz3gIQLNwjrVpiFtccyDQHfW6R24or4eg9kvYssyGb/uWXFqkDTAI4eYQxgjFkiaff2xm8hsFi+gh4Lu+U/O8hwAQlCYzQIDAQABo1MwUTAdBgNVHQ4EFgQUVJ8952kOH/5tyn7fzpCDqKKJJZkwHwYDVR0jBBgwFoAUVJ8952kOH/5tyn7fzpCDqKKJJZkwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAWx+ba0ho76zTx4pTT78JJPF71to3dWOm4HplTtAGvpu13NkNbmOdjAogN4ly/AOrJUbuP+S2ojUFYBxn4ZwZEETWkWhccIHV0IuQp4bxn+J2DOi4N7ZmRc3ctCE83kap/blDU9EP6qpbAQKC8tZyN6VtXJPv5bXJYswgMkLpiJGbb10frItZBOQt4gQTjiHdR1Ift2sKW0nR/JDNUGI3ctylFspJgNMzWAkaEtkhx3ylrJStD2ir62zMSwEJmmGBGlcvNnWjRbEu/ot8GfNfxMs0WVqimCAaTW7zthoKnJPGqa6RmheBjGiHOhyWuZMluhlwVPFmL0OcEk2wihS/Lg==', );