diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2013-05-29 19:51:19 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2013-05-29 19:51:19 +0200 |
commit | efac24b10ee1df25d2e9db35b26d848d8ffc9e6c (patch) | |
tree | 519891f4d6f4c5bcf5b275b00827a381a584d46f /xslt | |
parent | 522e8fbd46334a4187c73c03bdd051bf2cc7c01b (diff) | |
download | eurephia-efac24b10ee1df25d2e9db35b26d848d8ffc9e6c.tar.gz eurephia-efac24b10ee1df25d2e9db35b26d848d8ffc9e6c.tar.xz eurephia-efac24b10ee1df25d2e9db35b26d848d8ffc9e6c.zip |
eurephiadm/usercerts: Add support for setting up auth-plugins
This enables setting authentication plug-in and the alternative
authentication username for user-certificate links.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/eurephiadm/usercerts.xsl | 19 |
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 </xsl:text> - <xsl:text> U: [uid] Username </xsl:text> + <xsl:text> U: [uid] Username (Alt. auth username) </xsl:text> <xsl:text> C: [certid] Common name/Organisation (cert.depth) </xsl:text> <xsl:if test="$firewall = '1'"> <xsl:text> A: [accessprofile] Access profile name </xsl:text> </xsl:if> + <xsl:text> P: [auth-plugin] Auth plug-in descr </xsl:text> <xsl:text> ------------------------------------------------------------------------------ </xsl:text> <xsl:apply-templates select="usercert_link"/> <xsl:text> ------------------------------------------------------------------------------ </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> C: [</xsl:text> <xsl:call-template name="right-align"> @@ -84,6 +90,17 @@ <xsl:text> </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> </xsl:text> + </xsl:if> + <xsl:if test="last() > position()"> <xsl:text> </xsl:text> </xsl:if> |