summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2019-07-18 14:50:17 +0200
committerFredrik Domeij <fredrik.domeij@umu.se>2019-07-18 14:50:17 +0200
commit915f323feba14eefc78f9a1fa81b494eeb7b7f18 (patch)
tree2003fe5a05c078544edf3dc20b10929351d35a85
parentbbf883a1c8e7bc9c449fbf3d4d8b9d05d19a9408 (diff)
mailto: added to contactemail where missing, and is now required
-rw-r--r--Makefile2
-rw-r--r--swamid-2.0/hhs-personality-quiz.eu-gb.mybluemix.net.xml2
-rw-r--r--swamid-2.0/sp.sprakochfolkminnen.se.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1ff87b6d..9a38732c 100644
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ testEntCat:
testValidContact:
@echo "Checking for valid Contact Information"
- @for x in swamid-2.0/*.xml ; do if ( cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/ContactPerson" - 2>/dev/null | grep 'EmailAddress' | grep -qv ">mailto:") ; then echo " Missing mailto in ContactPerson in file $$x " ; fi done
+ @for x in swamid-2.0/*.xml ; do if ( cat $$x | sed 's;\(</*\)[a-z0-9]*:;\1;g' | sed 's/xmlns="[^"]*"//' | xmllint --xpath "/EntityDescriptor/ContactPerson" - 2>/dev/null | grep 'EmailAddress' | grep -qv ">mailto:") ; then echo " Missing mailto in ContactPerson in file $$x " ; fi ; done | grep . && exit 1 || true
testSimpleSign:
@echo "Check for new SP:s with SimpleSign (breaks ADFS IdP:s with Shib SP 2.5+)"
diff --git a/swamid-2.0/hhs-personality-quiz.eu-gb.mybluemix.net.xml b/swamid-2.0/hhs-personality-quiz.eu-gb.mybluemix.net.xml
index 2d21e50b..381e3dfa 100644
--- a/swamid-2.0/hhs-personality-quiz.eu-gb.mybluemix.net.xml
+++ b/swamid-2.0/hhs-personality-quiz.eu-gb.mybluemix.net.xml
@@ -25,6 +25,6 @@
</md:SPSSODescriptor>
<md:ContactPerson contactType="technical">
<md:GivenName>Adam Sawert</md:GivenName>
- <md:EmailAddress>adam.sawert@ibm.com</md:EmailAddress>
+ <md:EmailAddress>mailto:adam.sawert@ibm.com</md:EmailAddress>
</md:ContactPerson>
</md:EntityDescriptor>
diff --git a/swamid-2.0/sp.sprakochfolkminnen.se.xml b/swamid-2.0/sp.sprakochfolkminnen.se.xml
index 4b20bc51..dbfc7806 100644
--- a/swamid-2.0/sp.sprakochfolkminnen.se.xml
+++ b/swamid-2.0/sp.sprakochfolkminnen.se.xml
@@ -50,6 +50,6 @@
<md:ContactPerson contactType="technical">
<md:GivenName>Magnus</md:GivenName>
<md:SurName>Ahltorp</md:SurName>
- <md:EmailAddress>magnus.ahltorp@sprakochfolkminnen.se</md:EmailAddress>
+ <md:EmailAddress>mailto:magnus.ahltorp@sprakochfolkminnen.se</md:EmailAddress>
</md:ContactPerson>
</md:EntityDescriptor>