Skip to content

Commit

Permalink
Strip KeyName elements from export aggregate.
Browse files Browse the repository at this point in the history
Check that mdui:IPHint CIDR blocks represent networks.
Disable cacheing of remote HTTP resources so that a bug in the mda code doesn't cause signing too fail if it is performed too often.
  • Loading branch information
iay committed Sep 27, 2011
1 parent c9ad441 commit d718f4c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,18 @@
<property name="id" value="populateItemIds"/>
</bean>

<!--
stripKeyNames
Remove all ds:KeyName elements.
-->
<bean id="stripKeyNames" class="uk.org.ukfederation.mda.ElementStrippingStage"
init-method="initialize" lazy-init="true">
<property name="id" value="stripKeyNames"/>
<property name="elementName" value="KeyName"/>
<property name="elementNamespace" value="http://www.w3.org/2000/09/xmldsig#"/>
</bean>

<!--
Remove any empty Extensions elements.
-->
Expand Down
1 change: 1 addition & 0 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@
<property name="stages">
<list>
<ref bean="uk_stripExtensions"/>
<ref bean="stripKeyNames"/>
<ref bean="uk_assemble"/>
<ref bean="removeEmptyExtensions"/>
<ref bean="uk_finaliseExport"/>
Expand Down
1 change: 1 addition & 0 deletions mdx/validation-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<bean id="check_mdui_iphint" class="uk.org.ukfederation.mda.validate.mdui.IPHintValidationStage"
init-method="initialize" lazy-init="true">
<property name="id" value="check_mdui_iphint"/>
<property name="checkingNetworks" value="true"/>
</bean>

<!--
Expand Down
Binary file not shown.

0 comments on commit d718f4c

Please sign in to comment.