<?xml version="1.0" encoding="UTF-8"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" entityID="https://portalservices.miun.se/shibboleth">
  <md:Extensions>
    <mdrpi:RegistrationInfo registrationAuthority="http://www.swamid.se/">
      <mdrpi:RegistrationPolicy xml:lang="en">https://www.sunet.se/wp-content/uploads/2016/08/SWAMID-Metadata-Registration-Practice-Statement-v2.pdf</mdrpi:RegistrationPolicy>
    </mdrpi:RegistrationInfo>
    <mdattr:EntityAttributes xmlns:mdattr="urn:oasis:names:tc:SAML:metadata:attribute">
      <samla:Attribute xmlns:samla="urn:oasis:names:tc:SAML:2.0:assertion" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://macedir.org/entity-category">
        <samla:AttributeValue>http://www.geant.net/uri/dataprotection-code-of-conduct/v1</samla:AttributeValue>
      </samla:Attribute>
    </mdattr:EntityAttributes>
  </md:Extensions>
  <md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol urn:oasis:names:tc:SAML:1.1:protocol urn:oasis:names:tc:SAML:1.0:protocol">
    <md:Extensions>
      <mdui:UIInfo>
        <mdui:DisplayName xml:lang="sv">Egenregistrering</mdui:DisplayName>
        <mdui:DisplayName xml:lang="en">SelfRegister</mdui:DisplayName>
        <mdui:Description xml:lang="sv">Egenregistrering för studenter.</mdui:Description>
        <mdui:Description xml:lang="en">Self Register Service for students.</mdui:Description>
        <mdui:PrivacyStatementURL xml:lang="sv">https://www.miun.se/privacypolicy/egenregistrering</mdui:PrivacyStatementURL>
        <mdui:PrivacyStatementURL xml:lang="en">https://www.miun.se/privacypolicy/selfregister</mdui:PrivacyStatementURL>
      </mdui:UIInfo>
    </md:Extensions>
    <md:KeyDescriptor use="signing">
      <ds:KeyInfo>
        <ds:KeyName>rosalind.miun.se</ds:KeyName>
        <ds:X509Data>
          <ds:X509SubjectName>CN=rosalind.miun.se</ds:X509SubjectName>
          <ds:X509Certificate>MIIC9zCCAd+gAwIBAgIJAIIQvcjXtAm5MA0GCSqGSIb3DQEBBQUAMBsxGTAXBgNV
BAMTEHJvc2FsaW5kLm1pdW4uc2UwHhcNMTMwNTI5MjIyOTMzWhcNMjMwNTI3MjIy
OTMzWjAbMRkwFwYDVQQDExByb3NhbGluZC5taXVuLnNlMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEAnT/D8qoQnoI3I8898z/vg4a/LlQfYv/DkRIAqbxZ
8JuXcBHCflsTlUas/2pTtNY+FJwRLF4IKLJojaOF5vsg3Xcd7Y8jrC4EMvUfkoVK
5cTx/uz6Xf4ejmAMDDmYHvWqyIRfERVvSARwTjpRX4Gt94so2n6vdJErP0Rl61Ho
I3nJwSlcRP5Wn1Y3l/uw1r/ZhUUv6yGgWVWXmV+6qlH3rq3nULNrzohHbuODr6rR
AUOik1SaiERnx5koy7/CF12MwDdQAYp1+YFL2xT6+vcF3FwhDppL7lkoFrd0ihNI
X/hdkecVrpnj5ykle7g7xABsJEOTfPiGBOefkR0y2AXtpQIDAQABoz4wPDAbBgNV
HREEFDASghByb3NhbGluZC5taXVuLnNlMB0GA1UdDgQWBBQ3oI6Zshdu4dz7v2+6
xa5Rvh8KBTANBgkqhkiG9w0BAQUFAAOCAQEAikkMrClX/tjmENc+SIAgnKjYS8Z8
mdEJGtRZr47tcc/Qb84gfslLvfa6bJuzzWeVvoXj1+92m8tcM32s45yUiCmmL9Oq
qJxdaTqatW5za2RdaI2Kr0pIO0z2UUfbYd5i5wyLKsp85VMk3RlKsEnyaq8RaYK8
6qz4HKXoYiX7gqwlrVRDOZr0vvNhe8vcCYihxnLEv5WolJzM4wqz0CoKKO/ZwrW3
XEJzWYfbXhiq0WDNbmFY7WWKlfTjKwD3088PGcA8/AdosEB66Xs0K3PTVyJWcB3r
TeyoCQ24KR1X/NqeCJndNrh9MFFO1D14hF64NWpRKRybaB2lzrgIiIWvlw==
</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:KeyDescriptor use="encryption">
      <ds:KeyInfo>
        <ds:KeyName>rosalind.miun.se</ds:KeyName>
        <ds:X509Data>
          <ds:X509SubjectName>CN=rosalind.miun.se</ds:X509SubjectName>
          <ds:X509Certificate>MIIC9zCCAd+gAwIBAgIJAIIQvcjXtAm5MA0GCSqGSIb3DQEBBQUAMBsxGTAXBgNV
BAMTEHJvc2FsaW5kLm1pdW4uc2UwHhcNMTMwNTI5MjIyOTMzWhcNMjMwNTI3MjIy
OTMzWjAbMRkwFwYDVQQDExByb3NhbGluZC5taXVuLnNlMIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEAnT/D8qoQnoI3I8898z/vg4a/LlQfYv/DkRIAqbxZ
8JuXcBHCflsTlUas/2pTtNY+FJwRLF4IKLJojaOF5vsg3Xcd7Y8jrC4EMvUfkoVK
5cTx/uz6Xf4ejmAMDDmYHvWqyIRfERVvSARwTjpRX4Gt94so2n6vdJErP0Rl61Ho
I3nJwSlcRP5Wn1Y3l/uw1r/ZhUUv6yGgWVWXmV+6qlH3rq3nULNrzohHbuODr6rR
AUOik1SaiERnx5koy7/CF12MwDdQAYp1+YFL2xT6+vcF3FwhDppL7lkoFrd0ihNI
X/hdkecVrpnj5ykle7g7xABsJEOTfPiGBOefkR0y2AXtpQIDAQABoz4wPDAbBgNV
HREEFDASghByb3NhbGluZC5taXVuLnNlMB0GA1UdDgQWBBQ3oI6Zshdu4dz7v2+6
xa5Rvh8KBTANBgkqhkiG9w0BAQUFAAOCAQEAikkMrClX/tjmENc+SIAgnKjYS8Z8
mdEJGtRZr47tcc/Qb84gfslLvfa6bJuzzWeVvoXj1+92m8tcM32s45yUiCmmL9Oq
qJxdaTqatW5za2RdaI2Kr0pIO0z2UUfbYd5i5wyLKsp85VMk3RlKsEnyaq8RaYK8
6qz4HKXoYiX7gqwlrVRDOZr0vvNhe8vcCYihxnLEv5WolJzM4wqz0CoKKO/ZwrW3
XEJzWYfbXhiq0WDNbmFY7WWKlfTjKwD3088PGcA8/AdosEB66Xs0K3PTVyJWcB3r
TeyoCQ24KR1X/NqeCJndNrh9MFFO1D14hF64NWpRKRybaB2lzrgIiIWvlw==
</ds:X509Certificate>
        </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://portalservices.miun.se/Shibboleth.sso/Artifact/SOAP" index="1"/>
    <md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://portalservices2.miun.se/Shibboleth.sso/Artifact/SOAP" index="2"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://portalservices.miun.se/Shibboleth.sso/SLO/SOAP"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://portalservices2.miun.se/Shibboleth.sso/SLO/SOAP"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://portalservices.miun.se/Shibboleth.sso/SLO/Redirect"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://portalservices2.miun.se/Shibboleth.sso/SLO/Redirect"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://portalservices.miun.se/Shibboleth.sso/SLO/POST"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://portalservices2.miun.se/Shibboleth.sso/SLO/POST"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://portalservices.miun.se/Shibboleth.sso/SLO/Artifact"/>
    <md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://portalservices2.miun.se/Shibboleth.sso/SLO/Artifact"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://portalservices.miun.se/Shibboleth.sso/NIM/SOAP"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://portalservices2.miun.se/Shibboleth.sso/NIM/SOAP"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://portalservices.miun.se/Shibboleth.sso/NIM/Redirect"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://portalservices2.miun.se/Shibboleth.sso/NIM/Redirect"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://portalservices.miun.se/Shibboleth.sso/NIM/POST"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://portalservices2.miun.se/Shibboleth.sso/NIM/POST"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://portalservices.miun.se/Shibboleth.sso/NIM/Artifact"/>
    <md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://portalservices2.miun.se/Shibboleth.sso/NIM/Artifact"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://portalservices.miun.se/Shibboleth.sso/SAML2/POST" index="1"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://portalservices2.miun.se/Shibboleth.sso/SAML2/POST" index="2"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://portalservices.miun.se/Shibboleth.sso/SAML2/POST-SimpleSign" index="3"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://portalservices2.miun.se/Shibboleth.sso/SAML2/POST-SimpleSign" index="4"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://portalservices.miun.se/Shibboleth.sso/SAML2/Artifact" index="5"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://portalservices2.miun.se/Shibboleth.sso/SAML2/Artifact" index="6"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="https://portalservices.miun.se/Shibboleth.sso/SAML2/ECP" index="7"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="https://portalservices2.miun.se/Shibboleth.sso/SAML2/ECP" index="8"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://portalservices.miun.se/Shibboleth.sso/SAML/POST" index="9"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://portalservices2.miun.se/Shibboleth.sso/SAML/POST" index="10"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://portalservices.miun.se/Shibboleth.sso/SAML/Artifact" index="11"/>
    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:artifact-01" Location="https://portalservices2.miun.se/Shibboleth.sso/SAML/Artifact" index="12"/>
    <md:AttributeConsumingService index="1">
      <md:ServiceName xml:lang="sv">Egenregistrering</md:ServiceName>
      <md:ServiceName xml:lang="en">SelfRegister</md:ServiceName>
      <md:RequestedAttribute FriendlyName="eduPersonPrincipalName" 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:RequestedAttribute FriendlyName="norEduPersonNIN" Name="urn:oid:1.3.6.1.4.1.2428.90.1.5" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" isRequired="true"/>
    </md:AttributeConsumingService>
  </md:SPSSODescriptor>
  <md:Organization>
    <md:OrganizationName xml:lang="sv">MIUN</md:OrganizationName>
    <md:OrganizationName xml:lang="en">MIUN</md:OrganizationName>
    <md:OrganizationDisplayName xml:lang="sv">Mittuniversitetet</md:OrganizationDisplayName>
    <md:OrganizationDisplayName xml:lang="en">Mid Sweden University</md:OrganizationDisplayName>
    <md:OrganizationURL xml:lang="sv">https://www.miun.se/</md:OrganizationURL>
    <md:OrganizationURL xml:lang="en">https://www.miun.se/en</md:OrganizationURL>
  </md:Organization>
  <md:ContactPerson contactType="administrative">
    <md:Company>Mid Sweden University</md:Company>
    <md:GivenName>SystemDrift</md:GivenName>
    <md:SurName>IT Helpdesk</md:SurName>
    <md:EmailAddress>mailto:swamidcontact@miun.se</md:EmailAddress>
    <md:TelephoneNumber>+46 10-142 80 00</md:TelephoneNumber>
  </md:ContactPerson>
  <md:ContactPerson contactType="technical">
    <md:Company>Mid Sweden University</md:Company>
    <md:SurName>SystemDrift, INFRA, Mittuniversitetet</md:SurName>
    <md:EmailAddress>mailto:swamidcontact@miun.se</md:EmailAddress>
    <md:TelephoneNumber>+46 10-142 80 00</md:TelephoneNumber>
  </md:ContactPerson>
  <md:ContactPerson contactType="support">
    <md:Company>Mid Sweden University</md:Company>
    <md:SurName>IT Helpdesk</md:SurName>
    <md:EmailAddress>mailto:helpdesk@miun.se</md:EmailAddress>
    <md:TelephoneNumber>+46 771 976130</md:TelephoneNumber>
  </md:ContactPerson>
</md:EntityDescriptor>