summaryrefslogtreecommitdiff
path: root/xslt/idp-summary.xslt
diff options
context:
space:
mode:
authorAnders Lördal <anders@lordal.se>2016-07-07 10:00:40 +0200
committerAnders Lördal <anders@lordal.se>2016-07-07 10:00:40 +0200
commit856a552af04a2ef5d3aec434887faa4a05fa2ece (patch)
tree81c3dab2c845cd539a5a2e11d40d417ebc752414 /xslt/idp-summary.xslt
parent9329ee42f34d4e8168cc9f05594a64a45a20d1f9 (diff)
Added more contacts to idp-summary.xslt
Diffstat (limited to 'xslt/idp-summary.xslt')
-rw-r--r--xslt/idp-summary.xslt7
1 files changed, 5 insertions, 2 deletions
diff --git a/xslt/idp-summary.xslt b/xslt/idp-summary.xslt
index 3aa796f7..90e57adf 100644
--- a/xslt/idp-summary.xslt
+++ b/xslt/idp-summary.xslt
@@ -7,6 +7,7 @@
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:samla="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:mdattr="urn:oasis:names:tc:SAML:metadata:attribute"
+ xmlns:remd="http://refeds.org/metadata"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
xmlns:shibmd="urn:mace:shibboleth:metadata:1.0">
@@ -24,11 +25,11 @@
</xsl:if>
<xsl:if test="not(contains($h,'/'))">
<xsl:value-of select="$h"/>
- </xsl:if>
+ </xsl:if>
</xsl:template>
<xsl:template match="/md:EntitiesDescriptor">
- <xsl:text>||EntityID||Organization||Technical 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||
</xsl:text>
<xsl:apply-templates select="md:EntityDescriptor[md:IDPSSODescriptor]"/>
</xsl:template>
@@ -37,6 +38,8 @@
<xsl:text> | </xsl:text><xsl:value-of select="@entityID"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:Organization"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:ContactPerson[@contactType='technical']"/><xsl:text> </xsl:text>
+ <xsl:text> | </xsl:text><xsl:apply-templates select="md:ContactPerson[@contactType='support']"/><xsl:text> </xsl:text>
+ <xsl:text> | </xsl:text><xsl:apply-templates select="md:ContactPerson[@remd:contactType='http://refeds.org/metadata/contactType/security']"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:ContactPerson[@contactType='administrative']"/><xsl:text> </xsl:text>
<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>