<EntityDescriptor entityID="https://idp.tcd.ie/idp/shibboleth"
                  xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
                  xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
                  xmlns:shibmd="urn:mace:shibboleth:metadata:1.0"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <IDPSSODescriptor protocolSupportEnumeration="urn:mace:shibboleth:1.0 urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">

        <Extensions>
            <shibmd:Scope regexp="false">tcd.ie</shibmd:Scope>
        </Extensions>
        <Extensions>
            <shibmd:Scope regexp="false">blackboard.com</shibmd:Scope>
        </Extensions>
	
        <KeyDescriptor>
            <ds:KeyInfo>
                <ds:X509Data>
                    <ds:X509Certificate>
MIIDFDCCAfygAwIBAgIVAPRPufbduHXCtO3D7xf4VyBenGK1MA0GCSqGSIb3DQEB
BQUAMBUxEzARBgNVBAMTCmlkcC50Y2QuaWUwHhcNMTEwMjExMTIyMDI3WhcNMzEw
MjExMTIyMDI3WjAVMRMwEQYDVQQDEwppZHAudGNkLmllMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEAgxPT7BB9FbyCsi+tS0c7qNCpW5iVWFG0Bb8EFWwP
cJZjwC3UFm2CSUwc6iYBwXJ6hduAiKlzcms4d68aBBZLC9NNOFu24SjazMfCitD7
cb+zOwZVsegEF/E+ZDReGJQ2fhxty5IhPBwZs5A3SUQ0kXESG2p4iDVS0ugLPuSH
olZWNdhhCxjjlZL4GQsJ9vsX5VvkEuEygS/D6wOqzTzmM/YspJqsvI8XEhl8GftV
zo1TGQzcncBLKSUKjElRH6D4fRzxd8iDwBxupDOoH+A90lClUuFjKwlDXiZdWJZ+
wdVi6e1sjXzoU/CEXYGpEZ43Z+Gv9CUbW7uANh+1+A0I+wIDAQABo1swWTA4BgNV
HREEMTAvggppZHAudGNkLmllhiFodHRwczovL2lkcC50Y2QuaWUvaWRwL3NoaWJi
b2xldGgwHQYDVR0OBBYEFF7+WlJ+91zFVE0TxAf1INwckKy/MA0GCSqGSIb3DQEB
BQUAA4IBAQBe2KlhwI2a5teCe/g+mGtpgqbFr0ZVK5Q46843EyBPVI1SiT4M0zue
oyYcllaTffyDHewnLmbLDPSCX4EFUCwtESto79BnP88Oh55MLq+nAGrJ3S2sCIWw
zGKT6XuF3HohylbpC9c+3QaA+nsnkqgE3zwJC3130YCwxQGddnTx0PR8dhwKZqi6
fwSAxBZ6Sa3Tu8mUpjpbrpMzMOVzm+eVq2svOziznMC0OH5gBe0m9JA5KOnKLNjV
TKbh+Z5mRJsjPLO7Nw37TfB4qV4jqG1zsnToPK4g5bVWtDie9VREe7rVdik4ojQC
Q3LYLrBZf+t0v+PaZ+yBfJCbEk4iRX/l

                    </ds:X509Certificate>
                </ds:X509Data>
            </ds:KeyInfo>
        </KeyDescriptor>
        
        <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding"
                                   Location="https://idp.tcd.ie:8443/idp/profile/SAML1/SOAP/ArtifactResolution" 
                                   index="1"/>

        <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                                   Location="https://idp.tcd.ie:8443/idp/profile/SAML2/SOAP/ArtifactResolution" 
                                   index="2"/>
                                   
        <NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
        <NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>

        <SingleSignOnService Binding="urn:mace:shibboleth:1.0:profiles:AuthnRequest" 
                             Location="https://idp.tcd.ie/idp/profile/Shibboleth/SSO" />
        
        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" 
                             Location="https://idp.tcd.ie/idp/profile/SAML2/POST/SSO" />

        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" 
                             Location="https://idp.tcd.ie/idp/profile/SAML2/POST-SimpleSign/SSO" />
        
        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" 
                             Location="https://idp.tcd.ie/idp/profile/SAML2/Redirect/SSO" />
    </IDPSSODescriptor>

    <AttributeAuthorityDescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:2.0:protocol">

        <Extensions>
            <shibmd:Scope regexp="false">tcd.ie</shibmd:Scope>
        </Extensions>

        <KeyDescriptor>
            <ds:KeyInfo>
                <ds:X509Data>
                    <ds:X509Certificate>
MIIDFDCCAfygAwIBAgIVAPRPufbduHXCtO3D7xf4VyBenGK1MA0GCSqGSIb3DQEB
BQUAMBUxEzARBgNVBAMTCmlkcC50Y2QuaWUwHhcNMTEwMjExMTIyMDI3WhcNMzEw
MjExMTIyMDI3WjAVMRMwEQYDVQQDEwppZHAudGNkLmllMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEAgxPT7BB9FbyCsi+tS0c7qNCpW5iVWFG0Bb8EFWwP
cJZjwC3UFm2CSUwc6iYBwXJ6hduAiKlzcms4d68aBBZLC9NNOFu24SjazMfCitD7
cb+zOwZVsegEF/E+ZDReGJQ2fhxty5IhPBwZs5A3SUQ0kXESG2p4iDVS0ugLPuSH
olZWNdhhCxjjlZL4GQsJ9vsX5VvkEuEygS/D6wOqzTzmM/YspJqsvI8XEhl8GftV
zo1TGQzcncBLKSUKjElRH6D4fRzxd8iDwBxupDOoH+A90lClUuFjKwlDXiZdWJZ+
wdVi6e1sjXzoU/CEXYGpEZ43Z+Gv9CUbW7uANh+1+A0I+wIDAQABo1swWTA4BgNV
HREEMTAvggppZHAudGNkLmllhiFodHRwczovL2lkcC50Y2QuaWUvaWRwL3NoaWJi
b2xldGgwHQYDVR0OBBYEFF7+WlJ+91zFVE0TxAf1INwckKy/MA0GCSqGSIb3DQEB
BQUAA4IBAQBe2KlhwI2a5teCe/g+mGtpgqbFr0ZVK5Q46843EyBPVI1SiT4M0zue
oyYcllaTffyDHewnLmbLDPSCX4EFUCwtESto79BnP88Oh55MLq+nAGrJ3S2sCIWw
zGKT6XuF3HohylbpC9c+3QaA+nsnkqgE3zwJC3130YCwxQGddnTx0PR8dhwKZqi6
fwSAxBZ6Sa3Tu8mUpjpbrpMzMOVzm+eVq2svOziznMC0OH5gBe0m9JA5KOnKLNjV
TKbh+Z5mRJsjPLO7Nw37TfB4qV4jqG1zsnToPK4g5bVWtDie9VREe7rVdik4ojQC
Q3LYLrBZf+t0v+PaZ+yBfJCbEk4iRX/l

                    </ds:X509Certificate>
                </ds:X509Data>
            </ds:KeyInfo>
        </KeyDescriptor>

        <AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" 
                          Location="https://idp.tcd.ie:8443/idp/profile/SAML1/SOAP/AttributeQuery" />
        
        <AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                          Location="https://idp.tcd.ie:8443/idp/profile/SAML2/SOAP/AttributeQuery" />
        
        <NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
        <NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
        
    </AttributeAuthorityDescriptor>
    
</EntityDescriptor>    
