summaryrefslogtreecommitdiff
path: root/xslt/idp-summary.xslt
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2019-11-13 09:58:26 +0100
committerFredrik Domeij <fredrik.domeij@umu.se>2019-11-13 09:58:26 +0100
commit4606fc192429900bb4419832f0bc7d013bb83f53 (patch)
treea7a2ab3a5b0af5adfd8814f7159aec48be605a39 /xslt/idp-summary.xslt
parenta89731fe7485cb48357c54a642356ec3b95d0ba1 (diff)
registration authority added
displayname/displaydescription combined in sp-summary.xslt contactperson combined in sp-summary.xslt assurance-certification added to sp-summary.xslt
Diffstat (limited to 'xslt/idp-summary.xslt')
-rw-r--r--xslt/idp-summary.xslt10
1 files changed, 8 insertions, 2 deletions
diff --git a/xslt/idp-summary.xslt b/xslt/idp-summary.xslt
index 90e57adf..cc5a5f16 100644
--- a/xslt/idp-summary.xslt
+++ b/xslt/idp-summary.xslt
@@ -10,6 +10,7 @@
xmlns:remd="http://refeds.org/metadata"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
+ xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi"
xmlns:shibmd="urn:mace:shibboleth:metadata:1.0">
<xsl:output method="text"/>
@@ -29,7 +30,7 @@
</xsl:template>
<xsl:template match="/md:EntitiesDescriptor">
- <xsl:text>||EntityID||Organization||Technical Contact||Support Contact||Security Contact||Administrative Contact||Scopes||Entity category support||Assurance Certification||
+ <xsl:text>||EntityID||Organization||Technical Contact||Support Contact||Security Contact||Administrative Contact||Scopes||Entity category support||Assurance Certification||Registration Authority||
</xsl:text>
<xsl:apply-templates select="md:EntityDescriptor[md:IDPSSODescriptor]"/>
</xsl:template>
@@ -44,10 +45,15 @@
<xsl:text> | </xsl:text><xsl:apply-templates select="md:IDPSSODescriptor"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:Extensions/mdattr:EntityAttributes/samla:Attribute[@Name='http://macedir.org/entity-category-support']/samla:AttributeValue"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:Extensions/mdattr:EntityAttributes/samla:Attribute[@Name='urn:oasis:names:tc:SAML:attribute:assurance-certification']/samla:AttributeValue"/><xsl:text> </xsl:text>
+ <xsl:text> | </xsl:text><xsl:apply-templates select="md:Extensions/mdrpi:RegistrationInfo"/>
<xsl:text> |
</xsl:text>
</xsl:template>
+ <xsl:template match="mdrpi:RegistrationInfo">
+ <xsl:value-of select="@registrationAuthority"/><xsl:text> </xsl:text>
+ </xsl:template>
+
<xsl:template match="md:ContactPerson">
<xsl:apply-templates select="md:EmailAddress"/>
</xsl:template>
@@ -81,7 +87,7 @@
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="text()" />
<xsl:with-param name="replace" select="'-'" />
- <xsl:with-param name="by" select="'&amp;#x2011;'" />
+ <xsl:with-param name="by" select="'-'" />
</xsl:call-template>
<xsl:text> \\</xsl:text>
</xsl:template>