diff options
author | Thomas <> | 2022-03-08 13:41:31 +0100 |
---|---|---|
committer | Thomas <> | 2022-03-08 13:41:31 +0100 |
commit | 300bd1b44f521a2b33c259be1f8d21eba58c1a31 (patch) | |
tree | e79350ab707ba404cd7324da23e8f893d683b697 /core_common_webapp/src/main/resources | |
parent | 3bf2bf567fd0cc990bba9ad600f0c9c93c3ece37 (diff) | |
download | National_eIDAS_Gateway-300bd1b44f521a2b33c259be1f8d21eba58c1a31.tar.gz National_eIDAS_Gateway-300bd1b44f521a2b33c259be1f8d21eba58c1a31.tar.bz2 National_eIDAS_Gateway-300bd1b44f521a2b33c259be1f8d21eba58c1a31.zip |
refactor(core): split 'ms-connector' WebApp into 'core' and 'ms-connector' to reuse some code for 'ms-proxy' WebApp
Diffstat (limited to 'core_common_webapp/src/main/resources')
-rw-r--r-- | core_common_webapp/src/main/resources/specific_eIDAS_core.beans.xml | 61 | ||||
-rw-r--r-- | core_common_webapp/src/main/resources/specific_eIDAS_core_storage.beans.xml | 39 |
2 files changed, 100 insertions, 0 deletions
diff --git a/core_common_webapp/src/main/resources/specific_eIDAS_core.beans.xml b/core_common_webapp/src/main/resources/specific_eIDAS_core.beans.xml new file mode 100644 index 00000000..f37dc451 --- /dev/null +++ b/core_common_webapp/src/main/resources/specific_eIDAS_core.beans.xml @@ -0,0 +1,61 @@ +<?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" + xmlns:mvc="http://www.springframework.org/schema/mvc" + 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 + http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd"> + + <import resource="common_gui.beans.xml"/> + <import resource="classpath:specific_eIDAS_core_storage.beans.xml"/> + + <bean id="WebResourceConfiguration" + class="at.asitplus.eidas.specific.core.config.StaticResourceConfiguration" /> + + <bean id="eidasNodeMetadata" + class="at.asitplus.eidas.specific.core.health.EidasNodeMetadataHealthIndicator" /> + + <bean id="AuthenticationManager" + class="at.asitplus.eidas.specific.core.auth.AuthenticationManager" /> + + <bean id="AuthenticationDataBuilder" + class="at.asitplus.eidas.specific.core.builder.AuthenticationDataBuilder" /> + + <bean id="eaafProtocolAuthenticationService" + class="at.gv.egiz.eaaf.core.impl.idp.auth.services.ProtocolAuthenticationService"> + <property name="guiBuilder" ref="mvcGUIBuilderImpl" /> + </bean> + + <bean id="securePendingRequestIdGeneration" + class="at.gv.egiz.eaaf.core.impl.utils.SecurePendingRequestIdGenerationStrategy" /> + + <bean id="LoALevelMapper" + class="at.asitplus.eidas.specific.core.mapper.LoALevelMapper" /> + + <bean id="GUIBuilderConfigurationFactory" + class="at.asitplus.eidas.specific.core.gui.GuiBuilderConfigurationFactory" /> + + <bean id="velocityGUIBuilderImpl" + class="at.asitplus.eidas.specific.core.gui.DefaultVelocityGuiBuilderImpl" /> + + <bean id="mvcGUIBuilderImpl" + class="at.gv.egiz.eaaf.core.impl.gui.builder.SpringMvcGuiFormBuilderImpl" /> + + <bean id="StatusMessageProvider" + class="at.asitplus.eidas.specific.core.provider.StatusMessageProvider" /> + + <bean id="eidasRevisionLogger" + class="at.asitplus.eidas.specific.core.logger.RevisionLogger" /> + + <bean id="eidasStatisticLogger" + class="at.asitplus.eidas.specific.core.logger.StatisticLogger" /> + + <bean id="defaultErrorHandler" + class="at.gv.egiz.eaaf.core.impl.idp.auth.services.DefaultErrorService"/> + +</beans>
\ No newline at end of file diff --git a/core_common_webapp/src/main/resources/specific_eIDAS_core_storage.beans.xml b/core_common_webapp/src/main/resources/specific_eIDAS_core_storage.beans.xml new file mode 100644 index 00000000..259f5605 --- /dev/null +++ b/core_common_webapp/src/main/resources/specific_eIDAS_core_storage.beans.xml @@ -0,0 +1,39 @@ +<?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" + xmlns:mvc="http://www.springframework.org/schema/mvc" + 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 + http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd"> + + <import + resource="classpath:specificCommunicationDefinitionApplicationContext.xml" /> + + <!-- <bean id="SimpleInMemoryTransactionStorage" class="at.asitplus.eidas.specific.connector.storage.SimpleInMemoryTransactionStorage" + /> --> + + <bean id="eIDASCacheTransactionStoreDecorator" + class="at.asitplus.eidas.specific.core.storage.EidasCacheTransactionStoreDecorator" /> + + <bean id="CacheWitheIDASBackend" + class="at.asitplus.eidas.specific.core.storage.CacheWithEidasBackend"> + <constructor-arg ref="msNodeCacheImpl" /> + </bean> + + <bean id="msNodeCacheImpl" + class="eu.eidas.auth.cache.ConcurrentCacheServiceIgniteSpecificCommunicationImpl"> + <property name="igniteInstanceInitializerSpecificCommunication" ref="eidasIgniteInstanceInitializerSpecificCommunication" /> + <property name="cacheName" value="msConnectorCache" /> + </bean> + + <bean id="IgniteClusterState" + class="at.asitplus.eidas.specific.core.health.IgniteClusterHealthIndicator"> + <property name="igniteInstanceInitializerSpecificCommunication" ref="eidasIgniteInstanceInitializerSpecificCommunication" /> + </bean> + +</beans>
\ No newline at end of file |