Skip to content

Commit

Permalink
Change criteria for hierarchical metadata aggregate: only present in …
Browse files Browse the repository at this point in the history
…the inner aggregate if marked as being owned by a UK federation member.

The only entity for which this makes a difference is the Internet2 Spaces Wiki, which now appears in the outer aggregate.
  • Loading branch information
iay committed Oct 13, 2011
1 parent bcfedec commit 94eef68
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@
-->


<!--
uk_memberEntitySelector
Selection strategy which is true for entities owned by UK federation
members.
-->
<bean id="uk_memberEntitySelector" class="net.shibboleth.metadata.dom.XPathItemSelectionStrategy"
lazy-init="true">
<constructor-arg value="/md:EntityDescriptor[md:Extensions/ukfedlabel:UKFederationMember]"/>
<constructor-arg ref="commonNamespaces"/>
</bean>

<!--
Assemble a nested EntitiesDescriptor structure with the
UK federation entities inside an inner element.
Expand All @@ -70,7 +82,7 @@
init-method="initialize" lazy-init="true">
<property name="id" value="uk_buildNestedEntitiesDescriptor"/>
<property name="selectionStrategy">
<bean class="uk.org.ukfederation.mda.UKEntitySelectionStrategy"/>
<ref bean="uk_memberEntitySelector"/>
</property>
<property name="selectedItemPipeline">
<bean name="uk_assemblePipeline" class="net.shibboleth.metadata.pipeline.SimplePipeline"
Expand Down

0 comments on commit 94eef68

Please sign in to comment.