Skip to content

Commit

Permalink
Add a couple of proposed extensions to saml2int related to RequestedA…
Browse files Browse the repository at this point in the history
…ttribute.
  • Loading branch information
iay committed May 24, 2011
1 parent c7cd13b commit 3e03b7e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build/check_saml2int.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,20 @@
</xsl:call-template>
</xsl:template>


<!--
The following are not part of the current draft, but something like these
might be added in future.
-->
<xsl:template match="md:RequestedAttribute[not(@NameFormat)]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">SAML2IntX: RequestedAttribute element lacks NameFormat attribute</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template match="md:RequestedAttribute[@NameFormat][not(@NameFormat='urn:oasis:names:tc:SAML:2.0:attrname-format:uri')]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">SAML2IntX: RequestedAttribute element has incorrect NameFormat attribute</xsl:with-param>
</xsl:call-template>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 3e03b7e

Please sign in to comment.