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

Commit

Permalink
X.509 certificate check on registered entities: nothing shorter than …
Browse files Browse the repository at this point in the history
…1024 bits.
  • Loading branch information
iay committed Nov 14, 2013
1 parent 550d735 commit 8889173
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mdx/uk/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,17 @@
<ref bean="mdui_dn_en_match"/>
<ref bean="check_dup_display"/>

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

<!-- failure of any check on registered metadata is fatal -->
<ref bean="errorTerminatingFilter"/>
</list>
Expand Down

0 comments on commit 8889173

Please sign in to comment.