summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent252b0c60111f9d3dbd85e4a3bbcad809b7734faa (diff)
require IdP Logos to be https:ed
mah Logo moved to https SWAMIDOPS-8177
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 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