Skip to content

Commit

Permalink
Permit mil.no as a non-regex scope on import from eduGAIN
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#291.
  • Loading branch information
iay committed Jan 28, 2021
1 parent 2de4dcf commit d1eeb8b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mdx/uk/edugain-policy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@
p:regex="" p:message="scope element must not be empty"/>
<bean p:id="whiteSpace" parent="inc.RejectStringRegexValidator"
p:regex=".*\s.*" p:message="scope '%s' includes white space"/>

<!--
Explicitly accept domains which, although they
fall afoul of the public suffic heuristic, are
nevertheless known to be legitimately used as
security domains.
-->
<bean p:id="mil.no" parent="inc.AcceptStringValueValidator"
p:value="mil.no"/>

<bean p:id="domainName" parent="inc.AsDomainNameStringValidator"
p:message="scope is not a valid domain name: %s">
<property name="validators">
Expand Down

0 comments on commit d1eeb8b

Please sign in to comment.