Skip to content

Commit

Permalink
Permit appropriate regular expression scopes from eduGAIN
Browse files Browse the repository at this point in the history
Remove check_shib_regscope from standardImportActions.
Add it back in after all calls to standardImportActions that do not include the new scope checking policy for eduGAIN.
This allows regular expression scopes meeting policy to be imported from eduGAIN while retaining the previous behaviour everywhere else.
See ukf/ukf-meta#182.
  • Loading branch information
iay committed Oct 24, 2019
1 parent 99b2d49 commit 8a1a6df
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mdx/at_aconet/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<list>
<ref bean="at_aconet_productionEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand All @@ -56,6 +57,7 @@
<list>
<ref bean="at_aconet_edugainEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand All @@ -76,6 +78,7 @@
<list>
<ref bean="at_aconet_edugainEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>

<bean id="checkCertificates" parent="mda.X509ValidationStage">
<property name="validators">
Expand Down
1 change: 0 additions & 1 deletion mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,6 @@
<ref bean="checkSchemas"/>
<ref bean="CHECK_std"/>
<ref bean="check_dup_display"/>
<ref bean="check_shib_regscope"/>
<ref bean="check_namespaces"/>

<bean id="checkCertificates" parent="mda.X509ValidationStage">
Expand Down
2 changes: 2 additions & 0 deletions mdx/int_cobweb/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<list>
<ref bean="int_cobweb_productionEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand All @@ -47,6 +48,7 @@
<list>
<ref bean="int_cobweb_productionEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="errorTerminatingFilter"/>
</list>
</property>
Expand Down
1 change: 1 addition & 0 deletions mdx/test/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<list>
<ref bean="test_entities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand Down
1 change: 1 addition & 0 deletions mdx/uk/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@
<list>
<ref bean="uk_exportedEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand Down
2 changes: 2 additions & 0 deletions mdx/us_incommon/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<list>
<ref bean="us_incommon_productionEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand All @@ -59,6 +60,7 @@
<list>
<ref bean="us_incommon_exportedEntities"/>
<ref bean="standardImportActions"/>
<ref bean="check_shib_regscope"/>
<ref bean="standardImportTail"/>
<ref bean="serializeImported"/>
</list>
Expand Down

0 comments on commit 8a1a6df

Please sign in to comment.