<EntityDescriptor entityID="https://nya-04.ladok.umu.se/dw-idp"
                  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">studera.nu</shibmd:Scope>
        </Extensions>

        <KeyDescriptor>
            <ds:KeyInfo>
                <ds:X509Data>
                    <ds:X509Certificate>
MIIBtDCCAV6gAwIBAgIJAOFFbLCZsgeWMA0GCSqGSIb3DQEBBQUAMB4xHDAaBgNVBAMTE255YS0wNC5sYWRvay51bXUuc2UwHhcNMTAwOTE3MTQ0NzI1WhcNMjAwOTE0MTQ0NzI1WjAeMRwwGgYDVQQDExNueWEtMDQubGFkb2sudW11LnNlMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMWTF5dJ1wXeocm4D9hI7vnShARfhBMHtEhnj8SbrlVJxEcmMktVyXdMyzuozL50QaAjvIvrwW7x8C4pQ6WLXF8CAwEAAaN/MH0wHQYDVR0OBBYEFGdGiIWKAjV1EuVWJLMQ00FyjiTBME4GA1UdIwRHMEWAFGdGiIWKAjV1EuVWJLMQ00FyjiTBoSKkIDAeMRwwGgYDVQQDExNueWEtMDQubGFkb2sudW11LnNlggkA4UVssJmyB5YwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAANBAEUpEFWWUSEJxCGluR8/43q96hS/qSB9KQrYGASHb+38GOr7JnZ+ctFkyXm9Z8+v2ICvtkbxRonIwAc38uQz92E=
                    </ds:X509Certificate>
                </ds:X509Data>
            </ds:KeyInfo>
        </KeyDescriptor>
        
        <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding"
                                   Location="https://nya-04.ladok.umu.se:8450/idp/profile/SAML1/SOAP/ArtifactResolution" 
                                   index="1"/>

        <ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                                   Location="https://nya-04.ladok.umu.se:8450/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://nya-04.ladok.umu.se:451/idp/profile/Shibboleth/SSO" />
        
        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" 
                             Location="https://nya-04.ladok.umu.se:451/idp/profile/SAML2/POST/SSO" />

        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" 
                             Location="https://nya-04.ladok.umu.se:451/idp/profile/SAML2/POST-SimpleSign/SSO" />
        
        <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" 
                             Location="https://nya-04.ladok.umu.se:451/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">studera.nu</shibmd:Scope>
        </Extensions>

        <KeyDescriptor>
            <ds:KeyInfo>
                <ds:X509Data>
                    <ds:X509Certificate>
MIIBtDCCAV6gAwIBAgIJAOFFbLCZsgeWMA0GCSqGSIb3DQEBBQUAMB4xHDAaBgNVBAMTE255YS0wNC5sYWRvay51bXUuc2UwHhcNMTAwOTE3MTQ0NzI1WhcNMjAwOTE0MTQ0NzI1WjAeMRwwGgYDVQQDExNueWEtMDQubGFkb2sudW11LnNlMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMWTF5dJ1wXeocm4D9hI7vnShARfhBMHtEhnj8SbrlVJxEcmMktVyXdMyzuozL50QaAjvIvrwW7x8C4pQ6WLXF8CAwEAAaN/MH0wHQYDVR0OBBYEFGdGiIWKAjV1EuVWJLMQ00FyjiTBME4GA1UdIwRHMEWAFGdGiIWKAjV1EuVWJLMQ00FyjiTBoSKkIDAeMRwwGgYDVQQDExNueWEtMDQubGFkb2sudW11LnNlggkA4UVssJmyB5YwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAANBAEUpEFWWUSEJxCGluR8/43q96hS/qSB9KQrYGASHb+38GOr7JnZ+ctFkyXm9Z8+v2ICvtkbxRonIwAc38uQz92E=
                    </ds:X509Certificate>
                </ds:X509Data>
            </ds:KeyInfo>
        </KeyDescriptor>

        <AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" 
                          Location="https://nya-04.ladok.umu.se:8450/idp/profile/SAML1/SOAP/AttributeQuery" />
        
        <AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
                          Location="https://nya-04.ladok.umu.se:8450/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>