-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
See incommon/inc-meta#79.
- Loading branch information
Showing
174 changed files
with
9,324 additions
and
8,584 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,30 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| extract_entityids.xsl | ||
| XSL stylesheet that takes a SAML 2.0 metadata file and extracts | ||
| a list of entity IDs. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| extract_entityids.xsl | ||
| XSL stylesheet that takes a SAML 2.0 metadata file and extracts | ||
| a list of entity IDs. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| --> | ||
| <xsl:stylesheet version="1.0" | ||
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | ||
| xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF" | ||
| exclude-result-prefixes="md ds wayf"> | ||
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | ||
| xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| exclude-result-prefixes="md ds"> | ||
|
|
||
| <!-- Output is plain text --> | ||
| <xsl:output method="text"/> | ||
|
|
||
| <!-- Output is plain text --> | ||
| <xsl:output method="text"/> | ||
| <xsl:template match="//md:EntityDescriptor"> | ||
| <xsl:value-of select="@entityID"/> | ||
| <xsl:text>
</xsl:text> | ||
| </xsl:template> | ||
|
|
||
| <xsl:template match="//md:EntityDescriptor"> | ||
| <xsl:value-of select="@entityID"/> | ||
| <xsl:text>
</xsl:text> | ||
| </xsl:template> | ||
|
|
||
| <xsl:template match="text()"> | ||
| <!-- do nothing --> | ||
| </xsl:template> | ||
| <xsl:template match="text()"> | ||
| <!-- do nothing --> | ||
| </xsl:template> | ||
| </xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,34 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| extract_member_dates.xsl | ||
| XSL stylesheet that takes the UK federation members.xml file ane extracts | ||
| member names and joining dates in a format suitable for updating. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| extract_member_dates.xsl | ||
| XSL stylesheet that takes the UK federation members.xml file ane extracts | ||
| member names and joining dates in a format suitable for updating. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| --> | ||
| <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:ukfm="http://ukfederation.org.uk/2007/01/members"> | ||
|
|
||
| <!-- Output is plain text --> | ||
| <xsl:output method="text"/> | ||
| <xsl:template match="ukfm:Member"> | ||
| <xsl:value-of select="ukfm:JoinDate"/> | ||
| <xsl:text>,"</xsl:text> | ||
| <xsl:value-of select="md:OrganizationName"/> | ||
| <xsl:text>"
</xsl:text> | ||
| </xsl:template> | ||
|
|
||
| <!-- | ||
| Junk any extraneous text nodes. | ||
| --> | ||
| <xsl:template match="text()"> | ||
| <!-- do nothing --> | ||
| </xsl:template> | ||
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" | ||
| xmlns:ukfm="http://ukfederation.org.uk/2007/01/members"> | ||
|
|
||
| <!-- Output is plain text --> | ||
| <xsl:output method="text"/> | ||
|
|
||
| <xsl:template match="ukfm:Member"> | ||
| <xsl:value-of select="ukfm:JoinDate"/> | ||
| <xsl:text>,"</xsl:text> | ||
| <xsl:value-of select="md:OrganizationName"/> | ||
| <xsl:text>"
</xsl:text> | ||
| </xsl:template> | ||
|
|
||
| <!-- | ||
| Junk any extraneous text nodes. | ||
| --> | ||
| <xsl:template match="text()"> | ||
| <!-- do nothing --> | ||
| </xsl:template> | ||
|
|
||
| </xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,37 +1,37 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| extract_saml2sp.xsl | ||
| XSL stylesheet that takes a SAML 2.0 metadata aggregate and extracts | ||
| SAML 2.0 support information for each SP entity. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| extract_saml2sp.xsl | ||
| XSL stylesheet that takes a SAML 2.0 metadata aggregate and extracts | ||
| SAML 2.0 support information for each SP entity. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| --> | ||
| <xsl:stylesheet version="1.0" | ||
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | ||
| xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| exclude-result-prefixes="md ds"> | ||
|
|
||
| <!-- Output is plain text --> | ||
| <xsl:output method="text"/> | ||
| <xsl:template match="//md:EntityDescriptor[md:SPSSODescriptor]"> | ||
| <xsl:value-of select="@ID"/> | ||
| <xsl:text> </xsl:text> | ||
| <xsl:choose> | ||
| <xsl:when test="contains(md:SPSSODescriptor/@protocolSupportEnumeration, | ||
| 'urn:oasis:names:tc:SAML:2.0:protocol')">yes</xsl:when> | ||
| <xsl:otherwise>no</xsl:otherwise> | ||
| </xsl:choose> | ||
| <xsl:text>
</xsl:text> | ||
| </xsl:template> | ||
| <xsl:template match="text()"> | ||
| <!-- do nothing --> | ||
| </xsl:template> | ||
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | ||
| xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| exclude-result-prefixes="md ds"> | ||
|
|
||
| <!-- Output is plain text --> | ||
| <xsl:output method="text"/> | ||
|
|
||
| <xsl:template match="//md:EntityDescriptor[md:SPSSODescriptor]"> | ||
| <xsl:value-of select="@ID"/> | ||
| <xsl:text> </xsl:text> | ||
| <xsl:choose> | ||
| <xsl:when test="contains(md:SPSSODescriptor/@protocolSupportEnumeration, | ||
| 'urn:oasis:names:tc:SAML:2.0:protocol')">yes</xsl:when> | ||
| <xsl:otherwise>no</xsl:otherwise> | ||
| </xsl:choose> | ||
| <xsl:text>
</xsl:text> | ||
| </xsl:template> | ||
|
|
||
| <xsl:template match="text()"> | ||
| <!-- do nothing --> | ||
| </xsl:template> | ||
|
|
||
| </xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,30 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| identity.xsl | ||
| Identity transform. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| identity.xsl | ||
| Identity transform. | ||
| Author: Ian A. Young <ian@iay.org.uk> | ||
| --> | ||
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
|
|
||
| <!-- | ||
| Force UTF-8 encoding for the output. | ||
| --> | ||
| <xsl:output omit-xml-declaration="no" method="xml" encoding="UTF-8"/> | ||
| <!--By default, copy text blocks, comments and attributes unchanged.--> | ||
| <xsl:template match="text()|comment()|@*"> | ||
| <xsl:copy/> | ||
| </xsl:template> | ||
| <!--By default, copy all elements from the input to the output, along with their attributes and contents.--> | ||
| <xsl:template match="*"> | ||
| <xsl:copy> | ||
| <xsl:apply-templates select="node()|@*"/> | ||
| </xsl:copy> | ||
| </xsl:template> | ||
| <!-- | ||
| Force UTF-8 encoding for the output. | ||
| --> | ||
| <xsl:output omit-xml-declaration="no" method="xml" encoding="UTF-8"/> | ||
|
|
||
| <!--By default, copy text blocks, comments and attributes unchanged.--> | ||
| <xsl:template match="text()|comment()|@*"> | ||
| <xsl:copy/> | ||
| </xsl:template> | ||
|
|
||
| <!--By default, copy all elements from the input to the output, along with their attributes and contents.--> | ||
| <xsl:template match="*"> | ||
| <xsl:copy> | ||
| <xsl:apply-templates select="node()|@*"/> | ||
| </xsl:copy> | ||
| </xsl:template> | ||
|
|
||
| </xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.