From 939e7ea948054836ded8eafadd7d0d8787765d1e Mon Sep 17 00:00:00 2001 From: Ian Young Date: Fri, 8 Jul 2016 13:19:54 +0000 Subject: [PATCH] Split scope processing into a copy phase and an injection phase. This isolates the use of the Xalan extension in the injection phase so that it can be replaced by an MDA stage. --- mdx/uk/beans.xml | 45 ++++++------ mdx/uk/{scopes.xsl => scopes_copy.xsl} | 66 ++---------------- mdx/uk/scopes_inject.xsl | 94 ++++++++++++++++++++++++++ 3 files changed, 121 insertions(+), 84 deletions(-) rename mdx/uk/{scopes.xsl => scopes_copy.xsl} (50%) create mode 100644 mdx/uk/scopes_inject.xsl diff --git a/mdx/uk/beans.xml b/mdx/uk/beans.xml index eb3fccd0..9593dd9c 100644 --- a/mdx/uk/beans.xml +++ b/mdx/uk/beans.xml @@ -124,30 +124,6 @@ - - - - - - - - - - + + + + + + + + + + + diff --git a/mdx/uk/scopes.xsl b/mdx/uk/scopes_copy.xsl similarity index 50% rename from mdx/uk/scopes.xsl rename to mdx/uk/scopes_copy.xsl index ea29fed2..658a1a18 100644 --- a/mdx/uk/scopes.xsl +++ b/mdx/uk/scopes_copy.xsl @@ -1,63 +1,30 @@ + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - - - - - - - - - - - - - - false - - - - - - - - @@ -66,15 +33,7 @@ - - - - - false - - - - + @@ -84,13 +43,11 @@ If an IdP's SSO or AA roles already includes an Extensions element, this may already contain extensions other than scopes. We need to make sure that if it does not also contain scopes, then any scopes declared at the entity - level are copied down, and any outsourced scopes provided by the member - list are imported. + level are copied down. --> - @@ -100,15 +57,6 @@ - - - - - false - - - - diff --git a/mdx/uk/scopes_inject.xsl b/mdx/uk/scopes_inject.xsl new file mode 100644 index 00000000..b0f09c20 --- /dev/null +++ b/mdx/uk/scopes_inject.xsl @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + +