Skip to content

Commit

Permalink
Add support for import of Shibboleth 2.x SP auto-generated metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jun 16, 2009
1 parent 14433da commit 0b4b24e
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions build/import.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,67 @@
</xsl:template>


<!--
md:SPSSODescriptor
Normalise namespace prefix.
-->
<xsl:template match="md:SPSSODescriptor">
<SPSSODescriptor>
<xsl:apply-templates select="node()|@*"/>
</SPSSODescriptor>
</xsl:template>


<!--
md:KeyDescriptor
Normalise namespace prefix.
-->
<xsl:template match="md:KeyDescriptor">
<KeyDescriptor>
<xsl:apply-templates select="node()|@*"/>
</KeyDescriptor>
</xsl:template>


<!--
md:SingleLogoutService
Normalise namespace prefix.
-->
<xsl:template match="md:SingleLogoutService">
<SingleLogoutService>
<xsl:apply-templates select="node()|@*"/>
</SingleLogoutService>
</xsl:template>



<!--
md:ManageNameIDService
Normalise namespace prefix.
-->
<xsl:template match="md:ManageNameIDService">
<ManageNameIDService>
<xsl:apply-templates select="node()|@*"/>
</ManageNameIDService>
</xsl:template>


<!--
md:AssertionConsumerService
Normalise namespace prefix.
-->
<xsl:template match="md:AssertionConsumerService">
<AssertionConsumerService>
<xsl:apply-templates select="node()|@*"/>
</AssertionConsumerService>
</xsl:template>


<!--
Normalise whitespace in X509Certificate elements.
-->
Expand All @@ -222,6 +283,13 @@
</xsl:template>


<!--
Discard ds:X509SubjectName
-->
<xsl:template match="ds:X509SubjectName">
<!-- do nothing -->
</xsl:template>

<!--By default, copy text blocks, comments and attributes unchanged.-->
<xsl:template match="text()|comment()|@*">
<xsl:copy/>
Expand Down

0 comments on commit 0b4b24e

Please sign in to comment.