summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Aslund <fredrik.aslund@umu.se>2016-05-13 10:36:24 +0200
committerFredrik Aslund <fredrik.aslund@umu.se>2016-05-13 10:36:24 +0200
commit8ed7081c80af80533ed4d8f88ac75fd5ea2f5b21 (patch)
tree904201be0059d705857de1b006d74b67fd165017
parent252b0c60111f9d3dbd85e4a3bbcad809b7734faa (diff)
require IdP Logos to be https:ed
mah Logo moved to https SWAMIDOPS-8177
-rw-r--r--Makefile3
-rw-r--r--swamid-2.0/idp.mah.se-idp-shibboleth.xml2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2bc75f08..1ddda5fa 100644
--- a/Makefile
+++ b/Makefile
@@ -158,6 +158,9 @@ committest: test
@for x in `find $(SRCDIRS) -name \*.xml`; do if ! grep -qx `basename $$x` sp-with-simplesign && grep -q HTTP-POST-SimpleSign $$x ; then echo " $$x" ; fi ; done | grep . && exit 1 || true
@echo "Check for IdP:s with AL2 without AL1"
@for x in `find $(SRCDIRS) -name \*.xml`; do if grep -q http://www.swamid.se/policy/assurance/al2 $$x && ! grep -q http://www.swamid.se/policy/assurance/al1 $$x ; then echo " $$x" ; fi ; done | grep . && exit 1 || true
+ @echo "Check for IdP:s with Logos over http"
+ @for x in `find $(SRCDIRS) -name \*.xml`; do if cat $$x | sed -n '/IDPSSODescriptor/,/\/IDPSSODescriptor/p' | grep -q 'Logo .*http://' ; then echo " $$x" ; fi ; done | grep . && exit 1 || true
+
commit: tidy committest
@git diff --color || true
diff --git a/swamid-2.0/idp.mah.se-idp-shibboleth.xml b/swamid-2.0/idp.mah.se-idp-shibboleth.xml
index 2106d930..bf0c4810 100644
--- a/swamid-2.0/idp.mah.se-idp-shibboleth.xml
+++ b/swamid-2.0/idp.mah.se-idp-shibboleth.xml
@@ -10,7 +10,7 @@
<mdui:Description xml:lang="en">Identity Provider for Malmö University</mdui:Description>
<mdui:InformationURL xml:lang="sv">http://www.mah.se</mdui:InformationURL>
<mdui:InformationURL xml:lang="en">http://www.mah.se/english</mdui:InformationURL>
- <mdui:Logo height="195" width="132">http://cdn.mah.se/images/header/en/logo_en.jpg</mdui:Logo>
+ <mdui:Logo height="195" width="132">https://cdn.mah.se/images/header/en/logo_en.jpg</mdui:Logo>
<mdui:Logo xml:lang="sv" height="195" width="132">https://cdn.mah.se/images/header/sv/logo_sv.jpg</mdui:Logo>
<mdui:Logo xml:lang="en" height="195" width="132">https://cdn.mah.se/images/header/en/logo_en.jpg</mdui:Logo>
<mdui:Keywords xml:lang="sv">mah malmo+hogskola malmo+university</mdui:Keywords>