Skip to content

Commit

Permalink
Check that an IDPSSODescriptor claiming (through protocolSupportEnume…
Browse files Browse the repository at this point in the history
…ration) support for the Shibboleth 1.0 authentication request actually has an endpoint to back that claim up.
  • Loading branch information
iay committed Mar 28, 2011
1 parent 0650a8b commit daba650
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build/check_shibboleth.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,23 @@
</xsl:template>


<!--
If an IDPSSODescriptor indicates support for Shibboleth by including
urn:mace:shibboleth:1.0 in its protocolSupportEnumeration, it must contain at
least one appropriate SingleSignOnService.
This is theoretically too severe, as in principle additional profiles could be invented
in the future which exist in the same protocolSupportEnumeration "family". However,
at present there are no such uses of the value, so we can be more restrictive.
-->
<xsl:template match="md:IDPSSODescriptor[contains(@protocolSupportEnumeration, 'urn:mace:shibboleth:1.0')]
[not(md:SingleSignOnService[@Binding='urn:mace:shibboleth:1.0:profiles:AuthnRequest'])]">
<xsl:call-template name="fatal">
<xsl:with-param name="m">Shibboleth 1.x support claimed but no appropriate SSO service binding</xsl:with-param>
</xsl:call-template>
</xsl:template>


<!--
Checks for an IdP whose KeyDescriptor elements do not include a @use attribute.
This causes problems with the Shibboleth 1.3 SP prior to V1.3.1, which
Expand Down

0 comments on commit daba650

Please sign in to comment.