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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
list_entity_roles_txt.xsl | |
This XSL transform takes a SAML metadata document and produces | |
a tab-separated list of triples: | |
(@entityID, roleDescriptor, @registrationAuthority) | |
where roleDescriptor is one of the following: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
list_all_entity_endpoints_txt.xsl | |
This XSL transform takes a SAML V2.0 metadata file as input. | |
The script matches on every md:EntityDescriptor element in the | |
input. It then flattens all endpoints in metadata by returning lines | |
of output consisting of the following space-separated fields: | |
roleDescriptor endpointType binding location entityID registrarID |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright 2017 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 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
count_entity_roles.xsl | |
An XSL transform that takes a SAML V2.0 metadata file and | |
counts entities with various roles and characteristics. | |
Usage: | |
$ MD_PATH=/path/to/saml/metadata.xml | |
$ LIB_DIR=/path/to/source/lib/dir |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
extract_entity.xsl | |
An XSL transform that takes a SAML V2.0 metadata file and | |
extracts a single entity descriptor. | |
--> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
extract_entity_attributes.xsl | |
An XSL transform that takes a SAML V2.0 metadata file and | |
produces a list of all entity attributes in plain text. | |
Usage: | |
$ MD_PATH=/path/to/saml/metadata.xml | |
$ SOURCE_LIB=/path/to/source/lib/dir |
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
#!/bin/bash | |
####################################################################### | |
# Copyright 2016 InCommon, LLC. | |
# | |
# 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 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
extract_non-InCommon_IdP_entityIDs.xsl | |
XSL stylesheet that takes a SAML 2.0 metadata file and extracts the | |
non-InCommon IdP entityIDs as plain text. An entity is not an InCommon | |
IdP if its registar ID is something other than the InCommon registrar | |
ID "https://incommon.org". | |
--> | |
<xsl:stylesheet version="1.0" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
extract_InCommon_IdP_entityIDs.xsl | |
XSL stylesheet that takes a SAML 2.0 metadata file and extracts the | |
InCommon IdP entityIDs as plain text. The script recognizes an InCommon | |
entity by the presence of the InCommon registrar ID "https://incommon.org". | |
--> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
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
#!/bin/bash | |
####################################################################### | |
# Copyright 2015--2016 InCommon, LLC. | |
# | |
# 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 |
NewerOlder