Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Add entity attribute filtering rules for export to eduGAIN.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Aug 27, 2014
1 parent 00eb278 commit b1b9353
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion mdx/incommon/export.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@
<!-- Include a default registrationAuthority for each entity. -->
<ref bean="us_incommon_default_regauth"/>

<!-- Replace the InCommon R&S category with the REFEDS equivalent. -->
<!--
Replace the InCommon R&S category with the REFEDS equivalent.
Note: this is temporary, until the REFEDS R&S category is present in
InCommon production metadata
-->
<bean id="rands_to_refeds" parent="XSLTransformationStage"
p:id="rands_to_refeds">
<property name="XSLResource">
Expand All @@ -74,6 +79,22 @@
</property>
</bean>

<!-- Filter the entity attributes released to eduGAIN. -->
<bean parent="EntityAttributeFilteringStage" p:id="entityAttributes">
<property name="rules">
<list>
<!-- Permit REFEDS R&S category membership -->
<bean parent="EntityCategoryMatcher"
c:category="http://refeds.org/category/research-and-scholarship"/>

<!-- Permit REFEDS R&S category support -->
<bean parent="EntityCategorySupportMatcher"
c:category="http://refeds.org/category/research-and-scholarship"/>

</list>
</property>
</bean>

<!-- Construct an aggregate from the collection of entities. -->
<ref bean="assemble"/>

Expand Down

0 comments on commit b1b9353

Please sign in to comment.