Skip to content

Commit

Permalink
Check that an IdP with a SAML 1.1 AttributeAuthority has an Attribute…
Browse files Browse the repository at this point in the history
…Service with an appropriate Binding.
  • Loading branch information
iay committed Mar 15, 2012
1 parent b8d4695 commit c7a1258
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/check_saml1.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,16 @@
</xsl:call-template>
</xsl:template>

<!--
An IdP with a SAML 1.1 AttributeAuthority needs an AttributeService with an appropriate Binding.
-->
<xsl:template match="md:AttributeAuthorityDescriptor
[contains(@protocolSupportEnumeration, 'urn:oasis:names:tc:SAML:1.1:protocol')]
[not(md:AttributeService[@Binding='urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding'])]
">
<xsl:call-template name="error">
<xsl:with-param name="m">SAML 1.1 AttributeAuthority missing appropriately bound AttributeService</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit c7a1258

Please sign in to comment.