Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Remove statistics page display of primary scope
Browse files Browse the repository at this point in the history
As described in #38
  • Loading branch information
iay committed Oct 17, 2016
1 parent 7d8851d commit e4a713d
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@
<li><p><a href="#entities">Entity Statistics</a></p></li>
<li><p><a href="#byOwner">Entities by Owner</a></p></li>
<li><p><a href="#accountableIdPs">Identity Provider Accountability</a></p></li>
<li><p><a href="#membersByScope">Members by Primary Scope</a></p></li>
<li><p><a href="#undeployedMembers">Members Lacking Deployment</a></p></li>
<li><p><a href="#shib13">Shibboleth 1.3 Remnants</a></p></li>
<li><p><a href="#exportOptOut">Export Aggregate: Entities Opted Out</a></p></li>
Expand All @@ -151,22 +150,13 @@
to an aggregate IdP.
Other IdP outsourcing, and any SP outsourcing, is not recorded in the table.
</p>
<p>
The final column in the table, Primary Scope, records a scope (or security domain)
owned by the member and designated as its main (or only) scope.
('Primary Scope' is a useful concept, but is not precisely defined.
It is only recorded if the member in question owns an IdP or outsources its IdP provision -
and perhaps not even then, as it it sometimes unclear which of the scopes
it owns should be designated as 'primary'.)
</p>
<table border="1" cellspacing="2" cellpadding="4">
<tr>
<th align="left">Member</th>
<th>Entities</th>
<th>IdPs</th>
<th>SPs</th>
<th>OSrc</th>
<th align="left">Primary Scope</th>
</tr>
<xsl:apply-templates select="$members" mode="count">
<xsl:with-param name="entities" select="$entities"/>
Expand Down Expand Up @@ -973,33 +963,6 @@
</xsl:for-each>
</ul>

<!--
***********************************************************
*** ***
*** M E M B E R S B Y P R I M A R Y S C O P E ***
*** ***
***********************************************************
-->
<h2><a name="membersByScope">Members by Primary Scope</a></h2>
<p>Primary Scope is a useful concept, but is not precisely defined.
It is only recorded if the member in question owns an IdP or outsources its IdP provision -
and perhaps not even then, as it it sometimes unclear which of the scopes
it owns should be designated as 'primary'.</p>
<table border="1" cellspacing="2" cellpadding="4">
<tr>
<th align="left">Primary Scope</th>
<th align="left">Member</th>
</tr>
<xsl:variable name="membersWithScopes" select="$members[members:PrimaryScope]"/>
<xsl:for-each select="$membersWithScopes">
<xsl:sort select="members:PrimaryScope"/>
<tr>
<td><code><xsl:value-of select="members:PrimaryScope"/></code></td>
<td><xsl:value-of select="members:Name"/></td>
</tr>
</xsl:for-each>
</table>

<!--
***************************************************************
*** ***
Expand Down Expand Up @@ -1238,7 +1201,6 @@
<xsl:param name="entities"/>
<xsl:variable name="myName" select="string(members:Name)"/>
<xsl:variable name="matched" select="$entities[md:Organization/md:OrganizationName = $myName]"/>
<xsl:variable name="primaryScope" select="members:PrimaryScope"/>
<tr>
<td>
<xsl:value-of select="$myName"/>
Expand Down Expand Up @@ -1315,18 +1277,6 @@
</xsl:otherwise>
</xsl:choose>
</td>

<!-- Primary Scope, if present -->
<td align="left">
<xsl:choose>
<xsl:when test="count($primaryScope) = 0">
&#160;
</xsl:when>
<xsl:otherwise>
<code><xsl:value-of select="$primaryScope"/></code>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:template>

Expand Down

0 comments on commit e4a713d

Please sign in to comment.