From c89b2a6a8125affc532f3c009055cd4ff88123e0 Mon Sep 17 00:00:00 2001 From: Tom Scavo <trscavo@internet2.edu> Date: Sun, 5 Mar 2017 11:47:53 -0500 Subject: [PATCH] Remove unused XSLT stylesheet --- install.sh | 1 - lib/extract_IdP_names.xsl | 51 --------------------------------------- 2 files changed, 52 deletions(-) delete mode 100644 lib/extract_IdP_names.xsl diff --git a/install.sh b/install.sh index f2e7eee..9e2e783 100755 --- a/install.sh +++ b/install.sh @@ -110,7 +110,6 @@ while read source_file; do fi done <<SOURCES $script_bin/lib/extract_IdP_entityIDs.xsl -$script_bin/lib/extract_IdP_names.xsl $script_bin/lib/extract_InCommon_IdP_entityIDs.xsl SOURCES diff --git a/lib/extract_IdP_names.xsl b/lib/extract_IdP_names.xsl deleted file mode 100644 index b144019..0000000 --- a/lib/extract_IdP_names.xsl +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright 2016 Internet2 - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- - extract_IdP_names.xsl - - This XSL stylesheet takes a SAML 2.0 entity descriptor as input, - and then outputs the following tab-delimited text: - - entityID DisplayName OrganizationName registrarID - - Note: This script uses OrganizationName instead of OrganizationDisplayName - since the latter is often misused (for discovery purposes) in metadata. ---> -<xsl:stylesheet version="1.0" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" - xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi" - xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"> - - <!-- Output is plain text --> - <xsl:output method="text"/> - - <xsl:template match="/"> - <xsl:value-of select="/md:EntityDescriptor/@entityID"/> - <xsl:text>	</xsl:text> - <xsl:value-of select="normalize-space(/md:EntityDescriptor/md:IDPSSODescriptor/md:Extensions/mdui:UIInfo/mdui:DisplayName[@xml:lang='en'])"/> - <xsl:text>	</xsl:text> - <xsl:value-of select="normalize-space(/md:EntityDescriptor/md:Organization/md:OrganizationName[@xml:lang='en'])"/> - <xsl:text>	</xsl:text> - <xsl:value-of select="/md:EntityDescriptor/md:Extensions/mdrpi:RegistrationInfo/@registrationAuthority"/> - <xsl:text>
</xsl:text> - </xsl:template> - - <xsl:template match="text()"> - <!-- do nothing --> - </xsl:template> -</xsl:stylesheet>