Skip to content

Commit

Permalink
Add a check against the use of md:EncryptionMethod within md:KeyDescr…
Browse files Browse the repository at this point in the history
…iptor. While valid, this causes problems for OpenSAML-C 2.0, used by early Shibboleth 2.x SPs.
  • Loading branch information
iay committed Feb 15, 2011
1 parent 58a1bc3 commit 38e628a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/check_shibboleth.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,16 @@
</xsl:call-template>
</xsl:template>


<!--
Use of EncryptionMethod within KeyDescriptor causes metadata loading problems
for OpenSAML-C 2.0.
-->
<xsl:template match="md:KeyDescriptor/md:EncryptionMethod">
<xsl:call-template name="fatal">
<xsl:with-param name="m">KeyDescriptor contains EncryptionMethod: OpenSAML-C 2.0 problem</xsl:with-param>
</xsl:call-template>
</xsl:template>


</xsl:stylesheet>

0 comments on commit 38e628a

Please sign in to comment.