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

Commit

Permalink
Add a veryify.all verb to the int_edugain channel to allow verificati…
Browse files Browse the repository at this point in the history
…on of all entities, i.e., ignoring the verification blacklist.
  • Loading branch information
iay committed Nov 14, 2013
1 parent b46dfdd commit df754e9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,9 @@
<target name="flow.verifyEdugain.output">
<CHANNEL.do verb="verify" channel="int_edugain"/>
</target>
<target name="flow.verifyEdugain.output.all">
<CHANNEL.do verb="verify.all" channel="int_edugain"/>
</target>

<!--
flow.importRaw.all
Expand Down
29 changes: 29 additions & 0 deletions mdx/int_edugain/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,35 @@
</property>
</bean>

<!--
verify.all
Same as verify, but not making use of the validation
blacklist. Can be used to check up on blacklisted entities.
-->
<bean id="verify.all" parent="SimplePipeline"
p:id="verify.all">
<property name="stages">
<list>
<ref bean="int_edugain_productionEntities"/>

<bean parent="X509CertificateValidationStage"
p:id="checkCertificates">
<property name="validators">
<list>
<!-- Error on RSA key length less than 2048 bits. -->
<bean parent="X509CertificateRSAKeyLengthValidator"
p:warningBoundary="0" p:errorBoundary="2048"/>
</list>
</property>
</bean>

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

<alias alias="import" name="importProduction"/>
<alias alias="importRaw" name="importProductionRaw"/>
</beans>

0 comments on commit df754e9

Please sign in to comment.