Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Remove md:RoleDescriptor elements from imported metadata.
Browse files Browse the repository at this point in the history
These elements require additional schema definitions to be useful, and if those are not present at consuming entities schema validation errors will occur. We therefore strip them out entirely. This will mainly affect ADFS entities, but won't immediately allow those to be accepted as they also tend to have invalid AssertionConsumerService bindings.
  • Loading branch information
iay committed Dec 16, 2014
1 parent 1a75f3f commit 02f70b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mdx/clean-import.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<xsl:template match="md:EntityDescriptor/@cacheDuration"/>
<xsl:template match="md:EntityDescriptor/@validUntil"/>

<!-- Remove md:RoleDescriptor elements, which require additional schemas to be available. -->
<xsl:template match="md:RoleDescriptor"/>

<!-- strip xml:base entirely -->
<xsl:template match="@xml:base"/>

Expand Down

0 comments on commit 02f70b8

Please sign in to comment.