aboutsummaryrefslogtreecommitdiff
path: root/modules/core_commons_eidas/src/main/resources/eidas_v27_proxyservice.beans.xml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core_commons_eidas/src/main/resources/eidas_v27_proxyservice.beans.xml')
-rw-r--r--modules/core_commons_eidas/src/main/resources/eidas_v27_proxyservice.beans.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/modules/core_commons_eidas/src/main/resources/eidas_v27_proxyservice.beans.xml b/modules/core_commons_eidas/src/main/resources/eidas_v27_proxyservice.beans.xml
new file mode 100644
index 00000000..ea2f5a7d
--- /dev/null
+++ b/modules/core_commons_eidas/src/main/resources/eidas_v27_proxyservice.beans.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:tx="http://www.springframework.org/schema/tx"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.1.xsd
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
+ http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
+
+ <import resource="classpath:eidas_v2_auth_ref_impl_config.beans.xml" />
+
+ <!-- Proxy to specific-->
+ <import resource="classpath:proxySpecificCommunicationCaches.xml" />
+
+ <bean id="specificConnectorAttributesFileWithPath"
+ class="java.lang.String">
+ <constructor-arg
+ value="#{specificProxyServiceConfigRepository}#{specificConnectorAttributesFile}" />
+ </bean>
+
+ <bean id="specificConnectorAdditionalAttributesFileWithPath"
+ class="java.lang.String">
+ <constructor-arg
+ value="#{specificProxyServiceConfigRepository}#{specificAdditionalAttributesFile}" />
+ </bean>
+
+ <bean id="proxyCommunicationService" class="eu.eidas.specificcommunication.protocol.impl.SpecificCommunicationAdapterService" scope="prototype">
+ <constructor-arg index="0" ref="serviceRequestService"/>
+ <constructor-arg index="1" ref="serviceResponseService"/>
+ </bean>
+
+ <bean id="serviceRequestService" class="eu.eidas.specificcommunication.protocol.impl.RequestSpecificCommunicationServiceImpl" scope="prototype">
+ <constructor-arg index="0" type="java.lang.String" value="${lightToken.proxyservice.request.issuer.name}"/>
+ <constructor-arg index="1" type="java.lang.String" value="${lightToken.proxyservice.request.secret}"/>
+ <constructor-arg index="2" type="java.lang.String" value="${lightToken.proxyservice.request.algorithm}"/>
+ <constructor-arg index="3" ref="nodeSpecificProxyserviceRequestCache"/>
+ </bean>
+
+ <bean id="serviceResponseService" class="eu.eidas.specificcommunication.protocol.impl.ResponseSpecificCommunicationServiceImpl" scope="prototype">
+ <constructor-arg index="0" type="java.lang.String" value="${lightToken.proxyservice.response.issuer.name}"/>
+ <constructor-arg index="1" type="java.lang.String" value="${lightToken.proxyservice.response.secret}"/>
+ <constructor-arg index="2" type="java.lang.String" value="${lightToken.proxyservice.response.algorithm}"/>
+ <constructor-arg index="3" ref="specificNodeProxyserviceResponseCache"/>
+ </bean>
+
+</beans> \ No newline at end of file