Skip to content

Commit

Permalink
Implement a structured aggregate builder. Don't actually use it.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jul 12, 2011
1 parent ec52f13 commit 4e444a4
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,56 @@
</bean>


<!--
*******************************************************************
*** ***
*** S T R U C T U R E D A G G R E G A T E B U I L D E R ***
*** ***
*******************************************************************
-->


<!--
Assemble a nested EntitiesDescriptor structure with the
UK federation entities inside an inner element.
-->
<bean id="uk_assembleStructuredAggregate" class="net.shibboleth.metadata.pipeline.CompositeStage"
init-method="initialize" lazy-init="true">
<property name="id" value="uk_assembleStructuredAggregate"/>
<property name="composedStages">
<list>
<!--
Step 1: put all UK entities inside a UK-named EntitiesDescriptor
-->
<bean id="uk_buildNestedEntitiesDescriptor" class="net.shibboleth.metadata.pipeline.SplitMergeStage"
init-method="initialize" lazy-init="true">
<property name="id" value="uk_buildNestedEntitiesDescriptor"/>
<property name="selectionStrategy">
<bean class="uk.org.ukfederation.mda.UKEntitySelectionStrategy"/>
</property>
<property name="selectedItemPipeline">
<bean name="uk_assemblePipeline" class="net.shibboleth.metadata.pipeline.SimplePipeline"
init-method="initialize" lazy-init="true">
<property name="id" value="uk_assemblePipeline"/>
<property name="stages">
<list>
<ref bean="uk_assemble"/>
</list>
</property>
</bean>
</property>
</bean>

<!--
Step 2: put that EntitiesDescriptor plus all remaining entities inside an
anonymous outer EntitiesDescriptor.
-->
<ref bean="assemble"/>
</list>
</property>
</bean>


<!--
***************************************************
*** ***
Expand Down
Binary file modified tools/ukf-mda/ukf-mda-0.6-SNAPSHOT.jar
Binary file not shown.

0 comments on commit 4e444a4

Please sign in to comment.