<EntityDescriptor entityID="https://shibboleth.cavc.ac.uk/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">cavc.ac.uk</shibmd:Scope>
        </Extensions>

        <KeyDescriptor>
            <ds:KeyInfo>
                <ds:X509Data>
                    <ds:X509Certificate>
MIIDPzCCAiegAwIBAgIUH99VjfXgjcBNReQ0wEed9egxoRQwDQYJKoZIhvcNAQEF
BQAwIDEeMBwGA1UEAxMVc2hpYmJvbGV0aC5jYXZjLmFjLnVrMB4XDTEzMDgwNjEw
MzcxM1oXDTMzMDgwNjEwMzcxM1owIDEeMBwGA1UEAxMVc2hpYmJvbGV0aC5jYXZj
LmFjLnVrMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzHe0UQloxGjG
ZSgJRA29yJy7PZGb8Dnt4+BvZfJUZN2Pyo2MzXgDzDN1XuX+STZboJJDF5O/yzsH
HHk//noti8fyc5HcZrFUj8fkqtHgOlqwWCootKydYBdqxDY7V6RCZIcFXUf9INfQ
Lw49oTnTGBD82+q4QCNq3vU4xVosiyz2MOMcK8bka4QIThU0u9JeKd3e93/jWWhj
ccuPzn/vplmhWlubEznTDRu2KEeJMy6mKl1srJYvur+iQitTVZgb3tn4wLG2AWve
NTZ0oSh71IsHtx/utcFuKUHbILjWaw/6QQNhIoTCwrB8ADclhsZnxbMUEDUXJcMB
YbEH7f9B4QIDAQABo3EwbzBOBgNVHREERzBFghVzaGliYm9sZXRoLmNhdmMuYWMu
dWuGLGh0dHBzOi8vc2hpYmJvbGV0aC5jYXZjLmFjLnVrL2lkcC9zaGliYm9sZXRo
MB0GA1UdDgQWBBRy33u71EP4CwAaRU0KGQfUaXZUTTANBgkqhkiG9w0BAQUFAAOC
AQEAIcImOx9qUjZJEeywXVQfG4LLMWVAfwWa/kaa99HgSkiP+I1ZyYszSP7uq08X
6ZCmuNuKnmFPdvcXlRmXtDnIJAxGzUnz7MmxZQM33oI9SCmMpjZs8hAGM/rv4umc
jv2oS0AuPs4zUKf+FtlkLozX/MLYFWGA1k2DWkMpX0NhkO6x/2L0U7R80KEV7kjt
S3mGmEvdiB1r5NGqANDV0tnMuBTD8QZ1QJk4ysLfZlB/OuMcqyNX5ltn2B0DCO00
SMLkcYgNqvg8nqco5vKv6v9pkdh1MV40pOAWeaHT1FHJGW2UhuZpwK4MbbChbev2
oBcKoqYIcHYU0kK+KQpGb6qBIw==
                    </ds:X509Certificate>
                </ds:X509Data>
            </ds:KeyInfo>
        </KeyDescriptor>
        
        <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding"
                                   Location="https://shibboleth.cavc.ac.uk:8443/idp/profile/SAML1/SOAP/ArtifactResolution" 
                                   index="1"/>

        <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                                   Location="https://shibboleth.cavc.ac.uk: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://shibboleth.cavc.ac.uk/idp/profile/Shibboleth/SSO" />
        
        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" 
                             Location="https://shibboleth.cavc.ac.uk/idp/profile/SAML2/POST/SSO" />

        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" 
                             Location="https://shibboleth.cavc.ac.uk/idp/profile/SAML2/POST-SimpleSign/SSO" />
        
        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" 
                             Location="https://shibboleth.cavc.ac.uk/idp/profile/SAML2/Redirect/SSO" />
            <SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://shibboleth.cavc.ac.uk/idp/profile/SAML2/Redirect/SLO"/>
        <SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://shibboleth.cavc.ac.uk/idp/profile/SAML2/POST/SLO"/>
        <SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://shibboleth.cavc.ac.uk/idp/profile/SAML2/POST-SimpleSign/SLO"/>
        <SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://shibboleth.cavc.ac.uk:8443/idp/profile/SAML2/SOAP/SLO"/>
    </IDPSSODescriptor>

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

        <Extensions>
            <shibmd:Scope regexp="false">cavc.ac.uk</shibmd:Scope>
        </Extensions>

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

MIIDPzCCAiegAwIBAgIUH99VjfXgjcBNReQ0wEed9egxoRQwDQYJKoZIhvcNAQEF
BQAwIDEeMBwGA1UEAxMVc2hpYmJvbGV0aC5jYXZjLmFjLnVrMB4XDTEzMDgwNjEw
MzcxM1oXDTMzMDgwNjEwMzcxM1owIDEeMBwGA1UEAxMVc2hpYmJvbGV0aC5jYXZj
LmFjLnVrMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzHe0UQloxGjG
ZSgJRA29yJy7PZGb8Dnt4+BvZfJUZN2Pyo2MzXgDzDN1XuX+STZboJJDF5O/yzsH
HHk//noti8fyc5HcZrFUj8fkqtHgOlqwWCootKydYBdqxDY7V6RCZIcFXUf9INfQ
Lw49oTnTGBD82+q4QCNq3vU4xVosiyz2MOMcK8bka4QIThU0u9JeKd3e93/jWWhj
ccuPzn/vplmhWlubEznTDRu2KEeJMy6mKl1srJYvur+iQitTVZgb3tn4wLG2AWve
NTZ0oSh71IsHtx/utcFuKUHbILjWaw/6QQNhIoTCwrB8ADclhsZnxbMUEDUXJcMB
YbEH7f9B4QIDAQABo3EwbzBOBgNVHREERzBFghVzaGliYm9sZXRoLmNhdmMuYWMu
dWuGLGh0dHBzOi8vc2hpYmJvbGV0aC5jYXZjLmFjLnVrL2lkcC9zaGliYm9sZXRo
MB0GA1UdDgQWBBRy33u71EP4CwAaRU0KGQfUaXZUTTANBgkqhkiG9w0BAQUFAAOC
AQEAIcImOx9qUjZJEeywXVQfG4LLMWVAfwWa/kaa99HgSkiP+I1ZyYszSP7uq08X
6ZCmuNuKnmFPdvcXlRmXtDnIJAxGzUnz7MmxZQM33oI9SCmMpjZs8hAGM/rv4umc
jv2oS0AuPs4zUKf+FtlkLozX/MLYFWGA1k2DWkMpX0NhkO6x/2L0U7R80KEV7kjt
S3mGmEvdiB1r5NGqANDV0tnMuBTD8QZ1QJk4ysLfZlB/OuMcqyNX5ltn2B0DCO00
SMLkcYgNqvg8nqco5vKv6v9pkdh1MV40pOAWeaHT1FHJGW2UhuZpwK4MbbChbev2
oBcKoqYIcHYU0kK+KQpGb6qBIw==
                    </ds:X509Certificate>
                </ds:X509Data>
            </ds:KeyInfo>
        </KeyDescriptor>

        <AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" 
                          Location="https://shibboleth.cavc.ac.uk:8443/idp/profile/SAML1/SOAP/AttributeQuery" />
        
        <AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                          Location="https://shibboleth.cavc.ac.uk: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>    
