Skip to content

Commit

Permalink
Default and check for appropriate registrar in se_swamid channel.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Feb 27, 2013
1 parent 09dd005 commit fe0b74f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions mdx/se_swamid/beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,45 @@
<property name="verificationCertificate" ref="se_swamid_signingCertificate"/>
</bean>

<!--
se_swamid_registrar
Unique ID for the registrar associated with this channel.
-->
<bean id="se_swamid_registrar" class="java.lang.String">
<constructor-arg value="http://www.swamid.se/"/>
</bean>

<!--
se_swamid_check_regauth
Any registrationAuthority already present on an entity in this
channel must match the known registration authority value.
-->
<bean id="se_swamid_check_regauth" parent="check_regauth_parent"
p:id="se_swamid_check_regauth">
<property name="transformParameters">
<map>
<entry key="expectedAuthority" value-ref="se_swamid_registrar"/>
</map>
</property>
</bean>

<!--
se_swamid_default_regauth
Provide a default registrationAuthority appropriate to
this channel.
-->
<bean id="se_swamid_default_regauth" parent="default_regauth_parent"
p:id="se_swamid_default_regauth">
<property name="transformParameters">
<map>
<entry key="defaultAuthority" value-ref="se_swamid_registrar"/>
</map>
</property>
</bean>

<!--
Fetch and process the production entities as a collection.
-->
Expand All @@ -92,6 +131,9 @@

<ref bean="disassemble"/>

<ref bean="se_swamid_default_regauth"/>
<ref bean="se_swamid_check_regauth"/>

<ref bean="standardImportActions"/>

<!-- Strip all entity attributes from this source. -->
Expand Down Expand Up @@ -121,6 +163,9 @@

<ref bean="disassemble"/>

<ref bean="se_swamid_default_regauth"/>
<ref bean="se_swamid_check_regauth"/>

<ref bean="standardImportActions"/>

<!-- Strip all entity attributes from this source. -->
Expand Down

0 comments on commit fe0b74f

Please sign in to comment.