Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
1d9f764652
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
27 lines (22 sloc) 1.38 KB
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generate and sign (using AWS CloudHSM) all metadata required by the InCommon MDQ service -->
<beans xmlns="http://www.springframework.org/schema/beans" default-lazy-init="true"
xmlns:c="http://www.springframework.org/schema/c" xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
<!-- Import generateAll and supporting beans -->
<import resource="classpath:incommon/mdq-all.xml" />
<!-- Define a private key factory (based on AWS CloudHSM) to be used by the generateAll stage -->
<bean id="privateKeyFactory" class="uk.org.iay.incommon.mda.cloudhsm.CaviumPrivateKeyFactoryBean"
p:username="${sign.keyUser}" p:password="${sign.keyPassword}" p:keyHandle="${sign.keyHandle}" />
<!-- Generate all signed metadata required by the InCommon MDQ service -->
<bean id="mdq-all-cloudhsm" parent="mda.SimplePipeline">
<property name="stages">
<list>
<ref bean="generateAll" />
</list>
</property>
</bean>
</beans>