From 4fad832a2e47ab71059a971bc4d093248dddcbfe Mon Sep 17 00:00:00 2001 From: Ian Young Date: Wed, 14 Mar 2012 17:21:46 +0000 Subject: [PATCH] Reorganize the handling of "future" validation rulesets. The saml2int ruleset is now run everywhere, but the things that we still have exceptions to are now commented out. Those failing tests are now included within the "future" ruleset, which is all that the "check.uk.future" target runs. The "future" rulesets have been broken down into multiple non-overlapping XSLT transforms so that we get to see *all* matches, and none are hidden. One implicit change is that the import transform will now also perform all the saml2int tests (present and future). The intention is that each independent failing part of the saml2int ruleset can now be promoted independently once we have cleaned our own metadata up. --- build/check_future_1.xsl | 70 ++++++++++++++++++++++++++ build/check_future_2.xsl | 54 ++++++++++++++++++++ build/check_saml2int.xsl | 10 ++-- mdx/common-beans.xml | 24 +++++++++ mdx/uk/verbs.xml | 1 - mdx/validation-beans.xml | 104 +++++++++++++++++++++++++++++++++------ 6 files changed, 243 insertions(+), 20 deletions(-) create mode 100644 build/check_future_1.xsl create mode 100644 build/check_future_2.xsl diff --git a/build/check_future_1.xsl b/build/check_future_1.xsl new file mode 100644 index 00000000..0a7ba737 --- /dev/null +++ b/build/check_future_1.xsl @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + saml2int: SP excludes both SAML 2 name identifier formats + + + + + + + IdP excludes SAML 2 transient name identifier format + + + + diff --git a/build/check_future_2.xsl b/build/check_future_2.xsl new file mode 100644 index 00000000..a4689377 --- /dev/null +++ b/build/check_future_2.xsl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + no HTTP-POST support on SAML 2.0 SP + + + + diff --git a/build/check_saml2int.xsl b/build/check_saml2int.xsl index de54b5fa..83904536 100644 --- a/build/check_saml2int.xsl +++ b/build/check_saml2int.xsl @@ -36,7 +36,7 @@ Check for SAML 2.0 SPs which exclude both transient and persistent SAML 2 name identifier formats. --> - + - + + diff --git a/mdx/common-beans.xml b/mdx/common-beans.xml index 18b87551..06393465 100644 --- a/mdx/common-beans.xml +++ b/mdx/common-beans.xml @@ -10,6 +10,30 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd"> + + + + + + + + + + + parent="stage_parent" abstract="true"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -70,19 +157,6 @@ - - - - - - - - - - @@ -430,6 +504,7 @@ + @@ -446,7 +521,6 @@ -