From 7e9a4762536f7242ea51ecd55150c2335da9ffe7 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Thu, 4 Aug 2011 15:20:49 +0000 Subject: [PATCH] Check that browser-facing bindings on SingleSignOnService elements are not duplicated, as this makes no sense (browsers can't fall over to another endpoint if the first one fails). Inter alia, this involves adding a new check_saml2 ruleset. --- build.xml | 1 + build/check_saml2.xsl | 45 ++++++++++++++++++++++++++++++++++++++ build/check_shibboleth.xsl | 13 ++++++++++- mdx/validation-beans.xml | 14 ++++++++++++ 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 build/check_saml2.xsl diff --git a/build.xml b/build.xml index 9d5491d9..2290c4b9 100644 --- a/build.xml +++ b/build.xml @@ -872,6 +872,7 @@ + diff --git a/build/check_saml2.xsl b/build/check_saml2.xsl new file mode 100644 index 00000000..3915264d --- /dev/null +++ b/build/check_saml2.xsl @@ -0,0 +1,45 @@ + + + + + + + + + + + + more than one SingleSignOnService with SAML 2.0 HTTP-POST binding + + + + + + more than one SingleSignOnService with SAML 2.0 HTTP-POST-SimpleSign binding + + + + + + more than one SingleSignOnService with SAML 2.0 HTTP-Redirect binding + + + + diff --git a/build/check_shibboleth.xsl b/build/check_shibboleth.xsl index 03ee5ddc..34a9fb8f 100644 --- a/build/check_shibboleth.xsl +++ b/build/check_shibboleth.xsl @@ -19,7 +19,6 @@ xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:shibmd="urn:mace:shibboleth:metadata:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol" xmlns="urn:oasis:names:tc:SAML:2.0:metadata"> + + + more than one SingleSignOnService with Shibboleth binding + + + + + + + + + + + + + @@ -252,6 +265,7 @@ +