From 7abeb869c5bf532d5ec6daf42e13a20bd0c05df5 Mon Sep 17 00:00:00 2001
From: Paul Scott <paul.scott@kau.se>
Date: Fri, 26 Jun 2020 08:19:25 +0000
Subject: Resolves SWAMID-3129

---
 swamid-2.0/edusign.ju.se-shibboleth.xml | 73 +++++++++++++++++++++++++++++++++
 swamid-sp-2.0.mxml                      |  1 +
 2 files changed, 74 insertions(+)
 create mode 100644 swamid-2.0/edusign.ju.se-shibboleth.xml

diff --git a/swamid-2.0/edusign.ju.se-shibboleth.xml b/swamid-2.0/edusign.ju.se-shibboleth.xml
new file mode 100644
index 00000000..324d010e
--- /dev/null
+++ b/swamid-2.0/edusign.ju.se-shibboleth.xml
@@ -0,0 +1,73 @@
+<?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://edusign.ju.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://refeds.org/category/research-and-scholarship</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">
+    <md:Extensions>
+      <mdui:UIInfo>
+        <mdui:Description xml:lang="sv">Underskriftstjänst för eduSign</mdui:Description>
+        <mdui:Description xml:lang="en">eduSign signing service</mdui:Description>
+        <mdui:DisplayName xml:lang="sv">Jönköping University unserskriftstjänst</mdui:DisplayName>
+        <mdui:DisplayName xml:lang="en">Jönköping University signing service</mdui:DisplayName>
+        <mdui:Logo xml:lang="sv" height="140" width="315">https://idp.hj.se/idp/images/logo.png</mdui:Logo>
+      </mdui:UIInfo>
+    </md:Extensions>
+    <md:KeyDescriptor>
+      <ds:KeyInfo>
+        <ds:X509Data>
+          <ds:X509Certificate>
+                        MIID+TCCAmGgAwIBAgIUcvK7l55W4ym/iRGSI3Ey8jYbqoQwDQYJKoZIhvcNAQEL
+                        BQAwGDEWMBQGA1UEAxMNZWR1c2lnbi5qdS5zZTAeFw0yMDA2MjUxMjMzMTlaFw0z
+                        MDA2MjMxMjMzMTlaMBgxFjAUBgNVBAMTDWVkdXNpZ24uanUuc2UwggGiMA0GCSqG
+                        SIb3DQEBAQUAA4IBjwAwggGKAoIBgQC3bDyEsKNGbyQeyKFETVT7+uPc/gaisUf/
+                        NGyKf/T795KnOuf44cbJfLdZoIW604yoUcneADxDWPc+ywU6y47YxAOlbMRvf/16
+                        kn/bn8hLvvK/gtzsMlAuocOvc2jPeYhB8uFJ180CPj4N3HWi8QOzkE/b8lEd9RFX
+                        0+xsWPE8mjHbYe4FqXznSQ79W4ntzHEZQOnAsEojFnuRyzrdElBAm8TKh4yFFs+u
+                        5GkiuA3flBexea2rB0qGhGd/w2nOs4NpY9v/wLll9JyKiW7pEHUlf58S57x+XEnQ
+                        mDcXRMFKk5hlB0phE2kCxFTcGyK6kGprmdNvGUVJYJYkh1dOMX98cD9YP8F6w6qf
+                        zHhFRFf0KfM83uxHjBnmV2y71YTzBf5kxl0C4YuZcQKv8eSvEEnf7u5w5ST+7nb/
+                        qG+rn6ofcAzjd9ZFrMICFXESwzb2YApKBFfKr+E14ZSQRgxYiKmScklSryjpbPZT
+                        V3B2E5hOFQRMNtZEPQvZoYztzXEnNUcCAwEAAaM7MDkwGAYDVR0RBBEwD4INZWR1
+                        c2lnbi5qdS5zZTAdBgNVHQ4EFgQUHqymrkhDoT2473RDzUsOVbkRGoIwDQYJKoZI
+                        hvcNAQELBQADggGBAHUbIWHYnWsJIP3+SaAuTfOHgMFI7DudyTQUzE4beERhQ9nd
+                        vRs6sJnkjPlWXFpTJYHuechPwuq07YHxV1MOHkB3PnYVIu9J07b4eRWNTXshzIA7
+                        7j9fF0eNiUTyWqvB/6YozTyXz/TcjjgdcKleDGc6sJorjU/d+dxG5eCAoLxUFEFB
+                        Fxt3GVlN4c5QrylEbXWOfLEUnLBhNTdi1woG5YGa3fL7KGzvydLKUIvszWyky7+7
+                        ec6Y2pv0To6LerZYuK5e1E9symXeNzaqwQoDbSwaLjmIeri0MVn61Rq8CUhcfjYE
+                        mIjgF8a4b313+sxsBt76UFpoYOu7qPNvlPyhz+Ay4zsZgkJAzO7rLHrTdtUBWprE
+                        aVVXdLulwxNMNS4htUCdMyIguEN7lPVRO+jJTQWr+nNlj6LQyEKSzr7gDEJ+gbvk
+                        fzjN4+V8sByizshLpx7Izv+yp3r6UPbTekxej7lnTeZtj33kPn/6EWGoEvqJ+OVh
+                        X9ctj7sJm6MBmITb8A==
+                    </ds:X509Certificate>
+        </ds:X509Data>
+      </ds:KeyInfo>
+    </md:KeyDescriptor>
+    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://edusign.ju.se/Shibboleth.sso/SAML2/POST" index="1"/>
+    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="https://edusign.ju.se/Shibboleth.sso/SAML2/ECP" index="3"/>
+    <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://edusign.ju.se/Shibboleth.sso/SAML/POST" index="4"/>
+  </md:SPSSODescriptor>
+  <md:Organization>
+    <md:OrganizationName xml:lang="en">Jönköping University</md:OrganizationName>
+    <md:OrganizationName xml:lang="sv">Jönköping University</md:OrganizationName>
+    <md:OrganizationDisplayName xml:lang="en">Jönköping University</md:OrganizationDisplayName>
+    <md:OrganizationDisplayName xml:lang="sv">Jönköping University</md:OrganizationDisplayName>
+    <md:OrganizationURL xml:lang="en">https://www.ju.se</md:OrganizationURL>
+  </md:Organization>
+  <md:ContactPerson contactType="administrative">
+    <md:EmailAddress>mailto:swamid@ju.se</md:EmailAddress>
+  </md:ContactPerson>
+  <md:ContactPerson contactType="support">
+    <md:EmailAddress>mailto:swamid@ju.se</md:EmailAddress>
+  </md:ContactPerson>
+  <md:ContactPerson contactType="technical">
+    <md:EmailAddress>mailto:swamid@ju.se</md:EmailAddress>
+  </md:ContactPerson>
+</md:EntityDescriptor>
diff --git a/swamid-sp-2.0.mxml b/swamid-sp-2.0.mxml
index ab62f759..96b8f2bf 100644
--- a/swamid-sp-2.0.mxml
+++ b/swamid-sp-2.0.mxml
@@ -632,4 +632,5 @@
   <xi:include href="swamid-2.0/weos406t.srv.lu.se-shibboleth.xml"/>
   <xi:include href="swamid-2.0/lis.test.ladok.se-shibboleth.xml"/>
   <xi:include href="swamid-2.0/www.itslearning.com-integrations-samlmetadata-saml2v2-extensions-2.xml"/>
+  <xi:include href="swamid-2.0/edusign.ju.se-shibboleth.xml"/>
 </md:EntitiesDescriptor>
-- 
cgit v1.2.3