aboutsummaryrefslogtreecommitdiff
path: root/modules/core_commons_eidas/src/main/resources/eidas_v27_connector.beans.xml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core_commons_eidas/src/main/resources/eidas_v27_connector.beans.xml')
-rw-r--r--modules/core_commons_eidas/src/main/resources/eidas_v27_connector.beans.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/modules/core_commons_eidas/src/main/resources/eidas_v27_connector.beans.xml b/modules/core_commons_eidas/src/main/resources/eidas_v27_connector.beans.xml
new file mode 100644
index 00000000..fb17b857
--- /dev/null
+++ b/modules/core_commons_eidas/src/main/resources/eidas_v27_connector.beans.xml
@@ -0,0 +1,47 @@
+<?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">
+
+ <!--Connector to specific-->
+ <import resource="classpath:eidas_v2_auth_ref_impl_config.beans.xml" />
+ <import resource="classpath:connectorSpecificCommunicationCaches.xml" />
+
+ <bean id="connectorCommunicationService" class="eu.eidas.specificcommunication.protocol.impl.SpecificCommunicationAdapterService" scope="prototype">
+ <constructor-arg index="0" ref="connectorRequestService"/>
+ <constructor-arg index="1" ref="connectorResponseService"/>
+ </bean>
+
+ <bean id="specificConnectorAttributesFileWithPath"
+ class="java.lang.String">
+ <constructor-arg
+ value="#{specificConnectorConfigRepository}#{specificConnectorAttributesFile}" />
+ </bean>
+
+ <bean id="specificConnectorAdditionalAttributesFileWithPath"
+ class="java.lang.String">
+ <constructor-arg
+ value="#{specificConnectorConfigRepository}#{specificAdditionalAttributesFile}" />
+ </bean>
+
+ <bean id="connectorRequestService" class="eu.eidas.specificcommunication.protocol.impl.RequestSpecificCommunicationServiceImpl" scope="prototype">
+ <constructor-arg index="0" type="java.lang.String" value="${lightToken.connector.request.issuer.name}"/>
+ <constructor-arg index="1" type="java.lang.String" value="${lightToken.connector.request.secret}"/>
+ <constructor-arg index="2" type="java.lang.String" value="${lightToken.connector.request.algorithm}"/>
+ <constructor-arg index="3" ref="specificNodeConnectorRequestCache"/>
+ </bean>
+
+ <bean id="connectorResponseService" class="eu.eidas.specificcommunication.protocol.impl.ResponseSpecificCommunicationServiceImpl" scope="prototype">
+ <constructor-arg index="0" type="java.lang.String" value="${lightToken.connector.response.issuer.name}"/>
+ <constructor-arg index="1" type="java.lang.String" value="${lightToken.connector.response.secret}"/>
+ <constructor-arg index="2" type="java.lang.String" value="${lightToken.connector.response.algorithm}"/>
+ <constructor-arg index="3" ref="nodeSpecificConnectorResponseCache"/>
+ </bean>
+
+</beans> \ No newline at end of file