Skip to content

Commit

Permalink
Define and use WugenSelector in the WugenPipeline
Browse files Browse the repository at this point in the history
WugenSelector selects all entities with an IdPSSODescriptor or SPSSODescriptor.

See ukf/ukf-meta#233 for details
  • Loading branch information
Alex Stuart committed Jan 15, 2021
1 parent 0f18ef0 commit 65827e6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,15 @@
*****************************************
-->

<!--
The Wugen aggregate includes all entities except standalone AttributeAuthorities
(which cannot have WAYFless URLs)
-->
<bean id="WugenSelector" parent="mda.XPathItemSelectionStrategy">
<constructor-arg value="/md:EntityDescriptor[md:IDPSSODescriptor or md:SPSSODescriptor]" />
<constructor-arg ref="commonNamespaces"/>
</bean>

<bean id="serializeWugenAggregate" parent="mda.SerializationStage">
<property name="serializer" ref="serializer"/>
<property name="outputFile">
Expand Down Expand Up @@ -1167,7 +1176,7 @@
</bean>
<bean class="net.shibboleth.utilities.java.support.collection.Pair">
<constructor-arg ref="WugenPipeline"/>
<constructor-arg ref="CDSAllSelector"/>
<constructor-arg ref="WugenSelector"/>
</bean>
</list>
</property>
Expand Down

0 comments on commit 65827e6

Please sign in to comment.