Skip to content

Commit

Permalink
Bug 920 - Ensure appropriate protocolSupportEnumeration tokens exist …
Browse files Browse the repository at this point in the history
…for all endpoints

Promote final sub-test now that remaining entity has been updated.
  • Loading branch information
iay committed Jun 13, 2012
1 parent 3cfbc27 commit 6ca51e0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 13 additions & 0 deletions build/check_saml2.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,19 @@
</xsl:call-template>
</xsl:template>

<!--
Use of SAML 2.0 bindings requires SAML 2.0 in protocolSupportEnumeration.
-->
<xsl:template match="md:IDPSSODescriptor
[not(contains(@protocolSupportEnumeration, 'urn:oasis:names:tc:SAML:2.0:protocol'))]
[md:*/@Binding[starts-with(., 'urn:oasis:names:tc:SAML:2.0:bindings:')]]">
<xsl:call-template name="error">
<xsl:with-param name="m">
<xsl:text>SAML 2.0 binding requires SAML 2.0 token in IDPSSODescriptor/@protocolSupportEnumeration</xsl:text>
</xsl:with-param>
</xsl:call-template>
</xsl:template>

<!--
Use of SAML 2.0 bindings requires SAML 2.0 in protocolSupportEnumeration.
-->
Expand Down
13 changes: 0 additions & 13 deletions mdx/check_future_1.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,4 @@
-->
<xsl:import href="../build/check_framework.xsl"/>

<!--
Use of SAML 2.0 bindings requires SAML 2.0 in protocolSupportEnumeration.
-->
<xsl:template match="md:IDPSSODescriptor
[not(contains(@protocolSupportEnumeration, 'urn:oasis:names:tc:SAML:2.0:protocol'))]
[md:*/@Binding[starts-with(., 'urn:oasis:names:tc:SAML:2.0:bindings:')]]">
<xsl:call-template name="error">
<xsl:with-param name="m">
<xsl:text>SAML 2.0 binding requires SAML 2.0 token in IDPSSODescriptor/@protocolSupportEnumeration</xsl:text>
</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 6ca51e0

Please sign in to comment.