Skip to content

Commit

Permalink
Count IdP and SP entities which do NOT support each of SAML 1.1 and S…
Browse files Browse the repository at this point in the history
…AML 2.0 SSO.
  • Loading branch information
iay committed Aug 5, 2013
1 parent 36beb8d commit 38528f0
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,15 @@
</p>
</li>

<li>
<p>
Not supporting SAML 1.1 SSO:
<xsl:variable name="not.saml.1.1" select="$idpCount - $idp.sso.saml.1.1.count"/>
<xsl:value-of select="$not.saml.1.1"/>
(<xsl:value-of select="format-number($not.saml.1.1 div $idpCount, '0.0%')"/>)
</p>
</li>

<xsl:variable name="idp.sso.saml.2.0"
select="$idps[contains(md:IDPSSODescriptor/@protocolSupportEnumeration,
'urn:oasis:names:tc:SAML:2.0:protocol')]"/>
Expand Down Expand Up @@ -726,9 +735,19 @@
(<xsl:value-of select="format-number($idp.sso.saml.2.0.artifact.count div $idp.sso.saml.2.0.count, '0.0%')"/> of SAML 2.0 IdPs,
<xsl:value-of select="format-number($idp.sso.saml.2.0.artifact.count div $idpCount, '0.0%')"/> of all IdPs)
</li>

</ul>
</li>

<li>
<p>
Not supporting SAML 2.0 SSO:
<xsl:variable name="not.saml.2" select="$idpCount - $idp.sso.saml.2.0.count"/>
<xsl:value-of select="$not.saml.2"/>
(<xsl:value-of select="format-number($not.saml.2 div $idpCount, '0.0%')"/>)
</p>
</li>

</ul>

<xsl:call-template name="entity.breakdown.by.trust">
Expand Down Expand Up @@ -877,9 +896,19 @@
(<xsl:value-of select="format-number($sp.saml.1.1.acs.saml.1.0.artifact.count div $sp.sso.saml.1.1.count, '0.0%')"/>)
</p>
</li>

</ul>
</li>

<li>
<p>
Not supporting SAML 1.1 SSO:
<xsl:variable name="not.saml.1.1" select="$spCount - $sp.sso.saml.1.1.count"/>
<xsl:value-of select="$not.saml.1.1"/>
(<xsl:value-of select="format-number($not.saml.1.1 div $spCount, '0.0%')"/>)
</p>
</li>

<xsl:variable name="sp.sso.saml.2.0"
select="$sps[contains(md:SPSSODescriptor/@protocolSupportEnumeration,
'urn:oasis:names:tc:SAML:2.0:protocol')]"/>
Expand Down Expand Up @@ -929,9 +958,19 @@
(<xsl:value-of select="format-number($sp.saml.2.0.acs.saml.2.0.paos.count div $sp.sso.saml.2.0.count, '0.0%')"/>)
</p>
</li>

</ul>
</li>

<li>
<p>
Not supporting SAML 2.0 SSO:
<xsl:variable name="not.saml.2" select="$spCount - $sp.sso.saml.2.0.count"/>
<xsl:value-of select="$not.saml.2"/>
(<xsl:value-of select="format-number($not.saml.2 div $spCount, '0.0%')"/>)
</p>
</li>

</ul>

<xsl:call-template name="entity.breakdown.by.trust">
Expand Down

0 comments on commit 38528f0

Please sign in to comment.