Skip to content

Commit

Permalink
Provide checking-level access to the full Edugate production aggregat…
Browse files Browse the repository at this point in the history
…e as well as the export one.
  • Loading branch information
iay committed Aug 24, 2011
1 parent 24f30c6 commit 63dc303
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@
<CHANNEL.import channel="gr_grnet"/>
<CHANNEL.import channel="hu_eduid"/>
<CHANNEL.import channel="ie_edugate"/>
<CHANNEL.do channel="ie_edugate" verb="importAll"/>
<CHANNEL.import channel="int_edugain"/>
<CHANNEL.do channel="int_edugain" verb="testImport"/>
<CHANNEL.import channel="it_idem"/>
Expand Down
26 changes: 26 additions & 0 deletions mdx/ie_edugate/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,32 @@
<property name="maxValidityInterval" value="#{ 1000L * 60 * 60 * 24 * 14 }"/>
</bean>

<!--
Fetch and process all entities as a collection.
-->
<bean id="ie_edugate_allEntities" class="net.shibboleth.metadata.pipeline.CompositeStage"
init-method="initialize" lazy-init="true">
<property name="id" value="ie_edugate_allEntities"/>
<property name="composedStages">
<list>
<ref bean="ie_edugate_productionAggregate"/>

<!--
Check for fatal errors at the aggregate level:
missing or expired validUntil attribute
invalid signature
-->
<ref bean="ie_edugate_validUntil"/>
<ref bean="ie_edugate_checkSignature"/>
<ref bean="errorTerminatingFilter"/>

<ref bean="disassemble"/>

<ref bean="standardImportActions"/>
</list>
</property>
</bean>

<!--
Fetch and process the exported entities as a collection.
-->
Expand Down
12 changes: 12 additions & 0 deletions mdx/ie_edugate/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@
</property>
</bean>

<bean id="importAll" class="net.shibboleth.metadata.pipeline.SimplePipeline"
init-method="initialize" lazy-init="true">
<property name="id" value="importAll"/>
<property name="stages">
<list>
<ref bean="ie_edugate_allEntities"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
</property>
</bean>

<bean id="importRaw" class="net.shibboleth.metadata.pipeline.SimplePipeline"
init-method="initialize" lazy-init="true">
<property name="id" value="importRaw"/>
Expand Down

0 comments on commit 63dc303

Please sign in to comment.