summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/eurephiadm/usercerts.xsl19
1 files changed, 18 insertions, 1 deletions
diff --git a/xslt/eurephiadm/usercerts.xsl b/xslt/eurephiadm/usercerts.xsl
index 42defd4..17a05d5 100644
--- a/xslt/eurephiadm/usercerts.xsl
+++ b/xslt/eurephiadm/usercerts.xsl
@@ -29,11 +29,12 @@
<xsl:template match="/eurephia/usercerts">
<xsl:text> UICID - Registered&#10;</xsl:text>
- <xsl:text> U: [uid] Username&#10;</xsl:text>
+ <xsl:text> U: [uid] Username (Alt. auth username)&#10;</xsl:text>
<xsl:text> C: [certid] Common name/Organisation (cert.depth)&#10;</xsl:text>
<xsl:if test="$firewall = '1'">
<xsl:text> A: [accessprofile] Access profile name&#10;</xsl:text>
</xsl:if>
+ <xsl:text> P: [auth-plugin] Auth plug-in descr&#10;</xsl:text>
<xsl:text> ------------------------------------------------------------------------------&#10;</xsl:text>
<xsl:apply-templates select="usercert_link"/>
<xsl:text> ------------------------------------------------------------------------------&#10;</xsl:text>
@@ -58,6 +59,11 @@
<xsl:when test="username != ''"><xsl:value-of select="username"/></xsl:when>
<xsl:otherwise>(Unknown user account)</xsl:otherwise>
</xsl:choose>
+ <xsl:if test="authplugin/auth_username">
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="authplugin/auth_username"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
<xsl:text>&#10; C: [</xsl:text>
<xsl:call-template name="right-align">
@@ -84,6 +90,17 @@
<xsl:text>&#10;</xsl:text>
</xsl:if>
+ <xsl:if test="authplugin">
+ <xsl:text> P: [</xsl:text>
+ <xsl:call-template name="right-align">
+ <xsl:with-param name="value" select="authplugin/@authplugid"/>
+ <xsl:with-param name="width" select="3"/>
+ </xsl:call-template>
+ <xsl:text>] </xsl:text>
+ <xsl:value-of select="authplugin/description"/>
+ <xsl:text>&#10;</xsl:text>
+ </xsl:if>
+
<xsl:if test="last() > position()">
<xsl:text>&#10;</xsl:text>
</xsl:if>