Skip to content

Commit

Permalink
Allow for multiple MDQ configurations
Browse files Browse the repository at this point in the history
See incommon/inc-meta#91.
  • Loading branch information
iay committed Jul 24, 2018
1 parent 041ccc0 commit 9945332
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
18 changes: 14 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2641,21 +2641,31 @@
</target>

<!--
inc.generate.mdq
inc.mdq.generate.localkey
Generate per-entity metadata for the InCommon federation.
Generate per-entity metadata for the InCommon federation
using the localkey configuration.
-->
<target name="inc.generate.mdq" depends="get.sign.uk.keyPassword">
<target name="inc.mdq.generate.localkey" depends="get.sign.uk.keyPassword">
<property name="mda.mdq.input" value="${mda.inc.imported.xml}"/>
<property name="mda.sign.keyPassword" value="${sign.uk.keyPassword}"/>
<echo>Generating per-entity metadata in ${mda.mdq.output}</echo>
<echo> from unsigned aggregate in ${mda.mdq.input}</echo>
<delete dir="${mdq.output.dir}" quiet="true"/>
<mkdir dir="${mdq.output.dir}"/>
<CHANNEL.do channel="incommon" verb="mdq-multisign"/>
<CHANNEL.do channel="incommon" verb="mdq-multisign-localkey"/>
<echo>Generation complete.</echo>
</target>

<!--
inc.generate.mdq
Generate per-entity metadata for the InCommon federation.
-->
<target name="inc.generate.mdq" depends="inc.mdq.generate.localkey">
<!-- temporary alias for inc.mdq.generate.localkey -->
</target>

<!--
inc.edugain.report
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Generate and sign per-entity metadata.
Generate and sign per-entity metadata using a local private key resource.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
default-lazy-init="true"
Expand Down Expand Up @@ -38,7 +38,7 @@
<!--
Generate per-entity metadata.
-->
<bean id="mdq-multisign" parent="mda.SimplePipeline">
<bean id="mdq-multisign-localkey" parent="mda.SimplePipeline">
<property name="stages">
<list>
<!--
Expand Down

0 comments on commit 9945332

Please sign in to comment.