Metadados SAML 2.0 SP
De seguida pode encontrar os metadados gerados pelo SimpleSAMLphp. Pode enviar este documento de metadados aos seus parceiros para configurar uma federação.
Pode obter os metadados em XML num URL dedicado:
https://saml.mywikis.com/simplesaml/module.php/saml/sp/metadata.php/googleworkspace-itwiki
Metadados
Metadados no formato XML SAML 2.0
<?xml version="1.0"?> <md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://saml.mywikis.com/simplesaml/module.php/saml/sp/metadata.php/googleworkspace-itwiki"> <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://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-logout.php/googleworkspace-itwiki"/> <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-logout.php/googleworkspace-itwiki"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-acs.php/googleworkspace-itwiki" index="0"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml1-acs.php/googleworkspace-itwiki" index="1"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-acs.php/googleworkspace-itwiki" index="2"/> <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml1-acs.php/googleworkspace-itwiki/artifact" index="3"/> </md:SPSSODescriptor> <md:ContactPerson contactType="technical"> <md:GivenName>MyWikis</md:GivenName> <md:EmailAddress>mailto:contact@mywikis.com</md:EmailAddress> </md:ContactPerson> </md:EntityDescriptor>
Metadados no formato ficheiro de configuração do SimpleSAMLphp. Use esta alternativa se usar uma entidade SimpleSAMLphp no outro extremo:
$metadata['https://saml.mywikis.com/simplesaml/module.php/saml/sp/metadata.php/googleworkspace-itwiki'] = array ( 'SingleLogoutService' => array ( 0 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', 'Location' => 'https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-logout.php/googleworkspace-itwiki', ), 1 => array ( 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:SOAP', 'Location' => 'https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-logout.php/googleworkspace-itwiki', ), ), 'AssertionConsumerService' => array ( 0 => array ( 'index' => 0, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Location' => 'https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-acs.php/googleworkspace-itwiki', ), 1 => array ( 'index' => 1, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:browser-post', 'Location' => 'https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml1-acs.php/googleworkspace-itwiki', ), 2 => array ( 'index' => 2, 'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact', 'Location' => 'https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml2-acs.php/googleworkspace-itwiki', ), 3 => array ( 'index' => 3, 'Binding' => 'urn:oasis:names:tc:SAML:1.0:profiles:artifact-01', 'Location' => 'https://saml.mywikis.com/simplesaml/module.php/saml/sp/saml1-acs.php/googleworkspace-itwiki/artifact', ), ), 'contacts' => array ( 0 => array ( 'emailAddress' => 'contact@mywikis.com', 'contactType' => 'technical', 'givenName' => 'MyWikis', ), ), );