SAML 2.0 SP Metadata
SimpleSAMLphp har har genererat följande metadata. För att sätta upp en betrodd federation kan du skicka metadata till de parter du har förtroende för.
Du kan hämta metadata i XML-format på dedicerad URL:
https://scoutid.se/simplesaml/module.php/saml/sp/metadata.php/default-sp
Metadata
I SAML 2.0 Metadata XML-format:
<?xml version="1.0" encoding="UTF-8"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://scoutid.se/simplesaml/module.php/saml/sp/metadata.php/default-sp" ID="_e28909a255ba0b32286312c72b5874795b28238f8add77986be14039142b8d82"><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <ds:Reference URI="#_e28909a255ba0b32286312c72b5874795b28238f8add77986be14039142b8d82"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>a0bHgtNupV9274vT0EVc8byD+JbOsZ4xNjPoIPj1VsE=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>Vnss7VOb4KJxrqDQbI969zIuM509olsOkrE0OhVxKu4Yejewsq4XoStwHy0Qxq4d60oqkzqmbBkjG0fIjkfem7oVTiGjPLmddJEeqbrACviotPzEGzmjiG7NJphaRiwOLhDe9J4BGEMe47/RG47cNqcAXmzB0TwLdJ3lwD4tf21nkyGGkxRXPAj9A5nlND1FhHhBx0hWrEcBJHmELC1s+mySKeAv3+ph695zok0xE4BRvyEwj+2vPWN3IzaWvUgFYHEfSASWrhXSFWIRmXzj8FigFF4rrLZTq7w1YNInw7iUmei0opYxjKZP4C4g53APy01EHrAtUrQbQRv29W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F3xvFEwj3WO0HH03onZvUOyomeAVvLPVlLEW2jNNw2nBH7xjHXAxvEWkx8KQHprXKaToqm4H7ArtlMS5Ocb8aeRus/ghDLzoiOhZpCuAzXW9en23bFJX/TZ9mS2y6agHSsNikpw+44ZcMojjC/Ym6lfFFo2aU8go+vsGiR5FYckoyw2dc9n6RnkUk+cm/g4LXd7ombHpvPa+ptPHIMzY8PanCoVE8lnKFWZ+2ZaK8dUStam2Y1yxuQpHLy7MUQEo+KRGtSHFEMQHdOH0+hAch3h0+PA9</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature> <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol"> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://scoutid.se/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://scoutid.se/simplesaml/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://scoutid.se/simplesaml/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://scoutid.se/simplesaml/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://scoutid.se/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>Administrator</md:GivenName> <md:EmailAddress>mailto:info@scoutid.se</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
I filformatet för simpleSAML, använd detta detta format om SimpleSAMLphp används i mottagende sida:
$metadata['https://scoutid.se/simplesaml/module.php/saml/sp/metadata.php/default-sp'] = [ 'SingleLogoutService' => [ [ 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://scoutid.se/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp', ], ], 'AssertionConsumerService' => [ [ 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://scoutid.se/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://scoutid.se/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp', ], [ 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://scoutid.se/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp', ], [ 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://scoutid.se/simplesaml/module.php/saml/sp/saml1-acs.php/default-sp/artifact', ], ], 'contacts' => [ [ 'emailAddress' => 'info@scoutid.se', 'contactType' => 'technical', 'givenName' => 'Administrator', ], ], ];