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://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/metadata.php/custom
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://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/metadata.php/custom"> <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>MIIEPTCCAyWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBuDELMAkGA1UEBhMCVVMxFTATBgNVBAgMDFBlbm5zeWx2YW5pYTEVMBMGA1UEBwwMUGhpbGFkZWxwaGlhMRYwFAYDVQQKDA1ETEMgU29sdXRpb25zMRAwDgYDVQQLDAdFdGhvc0NFMScwJQYDVQQDDB4nYmNtLmhvc3RlZC5jbG91ZC5ldGhvc2NlLmNvbScxKDAmBgkqhkiG9w0BCQEWGXN1cHBvcnRAZGxjLXNvbHV0aW9ucy5jb20wHhcNMjAwMzA1MTk1OTAyWhcNMzAwMzA1MTk1OTAyWjCBuDELMAkGA1UEBhMCVVMxFTATBgNVBAgMDFBlbm5zeWx2YW5pYTEVMBMGA1UEBwwMUGhpbGFkZWxwaGlhMRYwFAYDVQQKDA1ETEMgU29sdXRpb25zMRAwDgYDVQQLDAdFdGhvc0NFMScwJQYDVQQDDB4nYmNtLmhvc3RlZC5jbG91ZC5ldGhvc2NlLmNvbScxKDAmBgkqhkiG9w0BCQEWGXN1cHBvcnRAZGxjLXNvbHV0aW9ucy5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDqElNa/VEvy3jBlfNqM6o11BkeXcsccp80Whla1xcvub+gLEkaBXDV2vdwWr07+RT9Aom9TpqYuwe9bh9TSlqQi4ItfwyRK+8oBox6cI+FBIIjzjaFtpZ1Fd7fLGrYKShXhgABhpcJl6kH7W1ZF1nCqanxRD4z2IjMZ6tv5CKnUo8iOUl1rvuq2Y6ijtq9cQWP0eVSg/xCNajQynt3+egI9zEBG2DbDJAFt59Et7iKZLbiVV7G1BOmc37xBe7wcP/O6Sr4GRmKCDvASVBGeifWiipTAkFcKM8fgyLQsBzOVUPDt4whha51J76LGadzt3ER5AhhiAI2za6ANZJmhXeDAgMBAAGjUDBOMB0GA1UdDgQWBBQjE9HxqzUOiqQdewtqLLHFB1xu+jAfBgNVHSMEGDAWgBQjE9HxqzUOiqQdewtqLLHFB1xu+jAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQDXLt67FmRNVgjcpQiKOqVAOn+iguM++bqALt0R+PViHHIFoq/zi0nKpEeWBOSSdNuDtm4gZc2Pxro9qwV/8E5N57FMwf+ibl+wuYTdYChmzBJSeQTil5BfDEe87uRFkO2GSpbOvWXhoKnNK0URdyHbEpHXOIiUjxDvC5JwSvftcvmiuqMR5qVjo/xwKPMa4YLFP4I7Ue8bz0vbbTWrPNgSxFOuDvDwULOo/hju937L5yvEIs+V6rMseqVNH1lWIKeF72RqVhsuBhSS/IqqWOv+gnxFb/gHJJXnHl7YXoGkZsCVNwpGMuUOUgTwUCler8DQEoTdOJbIM8XUvJvEg1Yl</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>MIIEPTCCAyWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBuDELMAkGA1UEB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NVgjcpQiKOqVAOn+iguM++bqALt0R+PViHHIFoq/zi0nKpEeWBOSSdNuDtm4gZc2Pxro9qwV/8E5N57FMwf+ibl+wuYTdYChmzBJSeQTil5BfDEe87uRFkO2GSpbOvWXhoKnNK0URdyHbEpHXOIiUjxDvC5JwSvftcvmiuqMR5qVjo/xwKPMa4YLFP4I7Ue8bz0vbbTWrPNgSxFOuDvDwULOo/hju937L5yvEIs+V6rMseqVNH1lWIKeF72RqVhsuBhSS/IqqWOv+gnxFb/gHJJXnHl7YXoGkZsCVNwpGMuUOUgTwUCler8DQEoTdOJbIM8XUvJvEg1Yl</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </md:KeyDescriptor> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-logout.php/custom"/> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-logout.php/custom"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-acs.php/custom" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml1-acs.php/custom" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-acs.php/custom" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml1-acs.php/custom/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>DLC Solutions Suport</md:GivenName> <md:EmailAddress>mailto:support@dlc-solutions.com</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
V SimpleSAMLphp "flat file" formatu - ta format uporabite, če uporabljate SimpleSAMLphp entiteto na drugi strani:
$metadata['https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/metadata.php/custom'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-logout.php/custom', ], [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', 'Location' => 'https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-logout.php/custom', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-acs.php/custom', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml1-acs.php/custom', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml2-acs.php/custom', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://cpd.education.bcm.edu/sites/all/libraries/simplesaml/www/module.php/saml/sp/saml1-acs.php/custom/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'support@dlc-solutions.com', 'contactType' => 'technical', 'givenName' => 'DLC Solutions Suport', ], ], 'certData' => 'MIIEPTCCAyWgAwIBA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