Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
languagexml
linenumberstrue
<md:EntityDescriptor entityID="https://sp.example.com/shibboleth"
                     xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
                     xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui">
  
   <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
      <md:Extensions>
         <init:RequestInitiator
            xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
            Binding="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
            Location="https://sp.example.com/Shibboleth.sso/Login" />
         <idpdisc:DiscoveryResponse
            xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
            Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
            Location="https://sp.example.com/Shibboleth.sso/DS" index="1" />
  
         <mdui:UIInfo>
            <mdui:DisplayName xml:lang="en">GARR Test SP</mdui:DisplayName>
            <mdui:DisplayName xml:lang="it">GARR SP di Test</mdui:DisplayName> 
            <mdui:Description xml:lang="en">This is a Service Provider useful for testing</mdui:Description>
            <mdui:Description xml:lang="it">Questo è un Service Provider utile per i test</mdui:Description>
            <mdui:InformationURL xml:lang="en">https://sp.example.com/en/information.html</mdui:InformationURL>
            <mdui:InformationURL xml:lang="it">https://sp.example.com/it/information.html</mdui:InformationURL>
  
            <mdui:Logo height="16" width="16" xml:lang="en">https://sp.example.com/en/images/communityLogo-16x16.png</mdui:Logo>
            <mdui:Logo height="16" width="16" xml:lang="it">https://sp.example.com/it/images/communityLogo-16x16.png</mdui:Logo>
            <mdui:Logo height="60" width="80" xml:lang="en">https://sp.example.com/en/images/communityLogo-80x60.png</mdui:Logo>
            <mdui:Logo height="60" width="80" xml:lang="it">https://sp.example.com/it/images/communityLogo-80x60.png</mdui:Logo>
  
            <mdui:PrivacyStatementURL xml:lang="en">https://sp.example.com/en/privacyStatement.html</mdui:PrivacyStatementURL>
            <mdui:PrivacyStatementURL xml:lang="it">https://sp.example.com/it/privacyStatement.html</mdui:PrivacyStatementURL>
         </mdui:UIInfo>
      </md:Extensions>
  
      <md:KeyDescriptor>
         <ds:KeyInfo>
            <ds:X509Data>
               <ds:X509Certificate>
                  SP_SELF-SIGNED_SUGGESTED_CERTIFICATE_USED_TO_
                  SIGN_AND_ENCRYPT_THE_ASSERTIONS_EXCHANGED_WITH_A_IDP-CHANGE_IT
               </ds:X509Certificate>
            </ds:X509Data>
         </ds:KeyInfo>
      </md:KeyDescriptor>
  
      <md:ArtifactResolutionService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
         Location="https://sp.example.com/Shibboleth.sso/Artifact/SOAP"
         index="1" />
  
      <md:SingleLogoutService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
         Location="https://sp.example.com/Shibboleth.sso/SLO/SOAP" />
      <md:SingleLogoutService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
         Location="https://sp.example.com/Shibboleth.sso/SLO/Redirect" />
      <md:SingleLogoutService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
         Location="https://sp.example.com/Shibboleth.sso/SLO/POST" />
      <md:SingleLogoutService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
         Location="https://sp.example.com/Shibboleth.sso/SLO/Artifact" />
  
      <md:ManageNameIDService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
         Location="https://sp.example.com/Shibboleth.sso/NIM/SOAP" />
      <md:ManageNameIDService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
         Location="https://sp.example.com/Shibboleth.sso/NIM/Redirect" />
      <md:ManageNameIDService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
         Location="https://sp.example.com/Shibboleth.sso/NIM/POST" />
      <md:ManageNameIDService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
         Location="https://sp.example.com/Shibboleth.sso/NIM/Artifact" />
  
      <md:AssertionConsumerService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
         Location="https://sp.example.com/Shibboleth.sso/SAML2/POST"
         index="1" />
      <md:AssertionConsumerService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign"
         Location="https://sp.example.com/Shibboleth.sso/SAML2/POST-SimpleSign"
         index="2" />
      <md:AssertionConsumerService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
         Location="https://sp.example.com/Shibboleth.sso/SAML2/Artifact"
         index="3" />
      <md:AssertionConsumerService
         Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS"
         Location="https://sp.example.com/Shibboleth.sso/SAML2/ECP"
         index="4" />
  
      <md:AttributeConsumingService index="1">
  
         <!-- example for the required attribute: mail -->
         <md:RequestedAttribute FriendlyName="mail"
            Name="urn:oid:0.9.2342.19200300.100.1.3"
            NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
            isRequired="true" />
  
         <!-- example for the required attribute: eduPersonPrincipalName -->
         <md:RequestedAttribute FriendlyName="eppn"
            Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
            NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
            isRequired="true" />
  
      </md:AttributeConsumingService>
   </md:SPSSODescriptor>
  
   <md:Organization>
      <md:OrganizationName xml:lang="en">Consortium GARR</md:OrganizationName>
      <md:OrganizationName xml:lang="it">Consortium GARR</md:OrganizationName>
  
      <md:OrganizationDisplayName xml:lang="en">Consortium GARR</md:OrganizationDisplayName>
      <md:OrganizationDisplayName xml:lang="it">Consortium GARR</md:OrganizationDisplayName>
  
      <md:OrganizationURL xml:lang="en">http://www.garr.it/b/eng</md:OrganizationURL>
      <md:OrganizationURL xml:lang="it">https://www.garr.it</md:OrganizationURL>
   </md:Organization>
  
   <md:ContactPerson contactType="technical">
      <md:EmailAddress>mailto:example.technical.contact@garr.it</md:EmailAddress>
   </md:ContactPerson>
   <md:ContactPerson contactType="support">
      <md:EmailAddress>mailto:example.support.contact@garr.it</md:EmailAddress>
   </md:ContactPerson>
  
</md:EntityDescriptor>