Skip to content

Commit

Permalink
Remove (almost) all reference to the elab:AthensPUIDAuthority constru…
Browse files Browse the repository at this point in the history
…ct. It remains in fragment files for OpenAthens virtual IdPs, and in the statistics transform which counts them.
  • Loading branch information
iay committed Sep 1, 2013
1 parent e1f3ef3 commit cfd3b9a
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 36 deletions.
4 changes: 0 additions & 4 deletions mdx/_rules/check_namespaces.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="elab:*">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="hoksso:*">
<xsl:apply-templates/>
</xsl:template>
Expand Down
7 changes: 0 additions & 7 deletions mdx/ns_norm.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand Down Expand Up @@ -132,12 +131,6 @@
</xsl:element>
</xsl:template>

<xsl:template match="elab:*">
<xsl:element name="elab:{local-name()}">
<xsl:apply-templates select="node()|@*"/>
</xsl:element>
</xsl:template>

<xsl:template match="idpdisc:*">
<xsl:element name="idpdisc:{local-name()}">
<xsl:apply-templates select="node()|@*"/>
Expand Down
57 changes: 45 additions & 12 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
<ref bean="check_aggregate"/>
<ref bean="check_filtered"/>
<ref bean="check_fixup_keyuse"/>
<ref bean="check_namespaces"/>
</list>
</property>
</bean>
Expand Down Expand Up @@ -358,7 +359,6 @@
<ref bean="errorTerminatingFilter"/>

<ref bean="uk_assemble"/>
<ref bean="stripElabNamespace"/>
<ref bean="fixup_EncryptionMethod"/>
<ref bean="performOtherFixups"/>
<ref bean="uk_addTrustRoots"/>
Expand Down Expand Up @@ -408,7 +408,6 @@
<ref bean="errorTerminatingFilter"/>

<ref bean="uk_assemble"/>
<ref bean="stripElabNamespace"/>
<ref bean="fixup_EncryptionMethod"/>
<ref bean="performOtherFixups"/>
<ref bean="uk_finaliseProduction"/>
Expand Down Expand Up @@ -445,7 +444,6 @@
<list>
<ref bean="stripComments"/>

<ref bean="stripElabNamespace"/>
<ref bean="stripMdattrNamespace"/>
<ref bean="stripMdrpiNamespace"/>
<ref bean="stripUkfedlabelNamespace"/>
Expand Down Expand Up @@ -694,7 +692,6 @@
<ref bean="errorTerminatingFilter"/>

<ref bean="uk_assemble"/>
<ref bean="stripElabNamespace"/>
<ref bean="fixup_EncryptionMethod"/>
<ref bean="performOtherFixups"/>
<ref bean="uk_addTrustRoots"/>
Expand Down Expand Up @@ -771,8 +768,15 @@
<ref bean="uk_finaliseExport"/>
<ref bean="uk_normaliseExport"/>

<!-- schema validity check MUST pass -->
<!--
Schema validity and other checks MUST pass.
These are a subset of the publishability tests applied to
aggregates published to federation members.
-->
<ref bean="checkSchemas"/>
<ref bean="check_aggregate"/>
<ref bean="check_namespaces"/>
<ref bean="errorTerminatingFilter"/>

<ref bean="serializeUnsignedExportAggregate"/>
Expand All @@ -798,9 +802,41 @@
<ref bean="uk_registeredEntities"/>

<!--
Remove all "administrative" contacts.
*******************************************************
*** ***
*** R A W R E G I S T R A R E N T I T I E S ***
*** ***
*******************************************************
At this point, the collection contains only entities
registered by the UK federation registrar. The minimum
changes possible have been performed, so that the statistics
report can be as comprehensive as possible.
-->

<!--
Fork a new output pipeline for the registrar statistics.
-->
<bean id="rawRegistrarDemux" parent="PipelineDemultiplexerStage"
p:id="rawRegistrarDemux">
<property name="pipelineAndSelectionStrategies">
<list>
<bean class="net.shibboleth.utilities.java.support.collection.Pair">
<constructor-arg ref="uk_statisticsPipeline"/>
<constructor-arg ref="everythingSelector"/>
</bean>
</list>
</property>
<property name="waitingForPipelines" value="true"/>
</bean>

<!--
Remove constructs which we no longer publish to any
external registry clients.
-->
<ref bean="uk_stripAdminContacts"/>
<ref bean="stripElabNamespace"/>
<ref bean="removeEmptyExtensions"/>

<!--
***********************************************
Expand All @@ -814,8 +850,7 @@
-->

<!--
Fork into new pipelines for the export aggregate and for
the registrar statistics.
Fork a new output pipeline for the export aggregate.
The export aggregate only includes UK-registered entities,
so the fork needs to occur before any others are introduced.
Expand All @@ -832,10 +867,6 @@
<constructor-arg ref="uk_exportPipeline"/>
<constructor-arg ref="uk_exportSelector"/>
</bean>
<bean class="net.shibboleth.utilities.java.support.collection.Pair">
<constructor-arg ref="uk_statisticsPipeline"/>
<constructor-arg ref="everythingSelector"/>
</bean>
</list>
</property>
<property name="waitingForPipelines" value="true"/>
Expand All @@ -846,6 +877,8 @@
This is performed independently on the export pipeline because
selection for that pipeline is based on these same extensions.
A better solution would be to extract the ExportOptIn label into
an item metadata object, and move this section before the export fork.
-->
<ref bean="uk_stripExtensions"/>
<ref bean="removeEmptyExtensions"/>
Expand Down
1 change: 0 additions & 1 deletion mdx/uk/ns_norm_back.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand Down
3 changes: 1 addition & 2 deletions mdx/uk/ns_norm_cds.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand All @@ -23,7 +22,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"

exclude-result-prefixes="alg ds elab init md mdattr saml shibmd ukfedlabel wayf xsi"
exclude-result-prefixes="alg ds init md mdattr saml shibmd ukfedlabel wayf xsi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down
3 changes: 1 addition & 2 deletions mdx/uk/ns_norm_export.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand All @@ -39,7 +38,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"

exclude-result-prefixes="alg md mdattr elab saml ukfedlabel wayf"
exclude-result-prefixes="alg md mdattr saml ukfedlabel wayf"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down
3 changes: 1 addition & 2 deletions mdx/uk/ns_norm_fragment.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand All @@ -28,7 +27,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"

exclude-result-prefixes="elab md mdattr saml"
exclude-result-prefixes="md mdattr saml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down
3 changes: 1 addition & 2 deletions mdx/uk/ns_norm_test.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand All @@ -39,7 +38,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"

exclude-result-prefixes="alg elab md mdattr saml"
exclude-result-prefixes="alg md mdattr saml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down
3 changes: 1 addition & 2 deletions mdx/uk/ns_norm_uk.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<xsl:stylesheet version="1.0"
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:elab="http://eduserv.org.uk/labels"
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
xmlns:init="urn:oasis:names:tc:SAML:profiles:SSO:request-init"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
Expand All @@ -39,7 +38,7 @@
xmlns:ukfedlabel="http://ukfederation.org.uk/2006/11/label"
xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF"

exclude-result-prefixes="alg elab md mdattr saml"
exclude-result-prefixes="alg md mdattr saml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
Expand Down
1 change: 0 additions & 1 deletion mdx/uk/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@
<ref bean="check_mdrpi"/>
<ref bean="check_mdui"/>
<ref bean="check_misc"/>
<ref bean="check_namespaces"/>
<ref bean="check_reqattr"/>
<ref bean="check_saml1"/>
<ref bean="check_saml2"/>
Expand Down
2 changes: 1 addition & 1 deletion mdx/validation-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,6 @@
<ref bean="check_mdrpi"/>
<ref bean="check_mdui"/>
<ref bean="check_misc"/>
<ref bean="check_namespaces"/>
<ref bean="check_reqattr"/>
<ref bean="check_saml1"/>
<ref bean="check_saml2"/>
Expand All @@ -740,6 +739,7 @@
<list>
<ref bean="CHECK_std"/>
<ref bean="check_regscope"/>
<ref bean="check_namespaces"/>
</list>
</property>
</bean>
Expand Down

0 comments on commit cfd3b9a

Please sign in to comment.