From ce2250d0e285dfa456072729989f9ac2a498cec1 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 11 Dec 2019 07:33:04 +0100 Subject: add BM.I specific example of country-selection template add new i18n content add jUnit tests --- .../config/StaticResourceConfiguration.java | 1 + .../resources/specific_eIDAS_connector.beans.xml | 28 +++++++++++----------- .../specific_eIDAS_connector.storage.beans.xml | 4 ++-- 3 files changed, 17 insertions(+), 16 deletions(-) (limited to 'connector/src/main') diff --git a/connector/src/main/java/at/asitplus/eidas/specific/connector/config/StaticResourceConfiguration.java b/connector/src/main/java/at/asitplus/eidas/specific/connector/config/StaticResourceConfiguration.java index 81ab02ce..e3931afe 100644 --- a/connector/src/main/java/at/asitplus/eidas/specific/connector/config/StaticResourceConfiguration.java +++ b/connector/src/main/java/at/asitplus/eidas/specific/connector/config/StaticResourceConfiguration.java @@ -123,6 +123,7 @@ public class StaticResourceConfiguration implements WebMvcConfigurer { final String absPath = FileUtils.makeAbsoluteUrl(staticResources, basicConfig .getConfigurationRootDirectory()); messageSource.setBasename(absPath); + messageSource.setFallbackToSystemLocale(false); } else { log.debug("No Ressourcefolder for dynamic Web content templates"); diff --git a/connector/src/main/resources/specific_eIDAS_connector.beans.xml b/connector/src/main/resources/specific_eIDAS_connector.beans.xml index e7a46657..5cf0d5b8 100644 --- a/connector/src/main/resources/specific_eIDAS_connector.beans.xml +++ b/connector/src/main/resources/specific_eIDAS_connector.beans.xml @@ -23,7 +23,7 @@ - + @@ -35,17 +35,17 @@ class="at.asitplus.eidas.specific.connector.builder.AuthenticationDataBuilder" /> + class="at.asitplus.eidas.specific.connector.config.PvpEndPointConfiguration" /> + class="at.asitplus.eidas.specific.connector.provider.PvpEndPointCredentialProvider" /> + class="at.asitplus.eidas.specific.connector.provider.PvpMetadataConfigurationFactory" /> - + class="at.asitplus.eidas.specific.connector.controller.Pvp2SProfileEndpoint"> + @@ -54,18 +54,18 @@ class="at.asitplus.eidas.specific.connector.verification.AuthnRequestValidator" /> + class="at.gv.egiz.eaaf.modules.pvp2.impl.verification.SamlVerificationEngine" /> - + - + @@ -79,22 +79,22 @@ class="at.gv.egiz.eaaf.core.impl.utils.SecurePendingRequestIdGenerationStrategy" /> + class="at.asitplus.eidas.specific.connector.provider.PvpMetadataProvider" /> + class="at.asitplus.eidas.specific.connector.builder.PvpSubjectNameGenerator" /> + class="at.asitplus.eidas.specific.connector.gui.GuiBuilderConfigurationFactory" /> + class="at.asitplus.eidas.specific.connector.gui.DefaultVelocityGuiBuilderImpl" /> + class="at.asitplus.eidas.specific.connector.gui.SpringMvcGuiFormBuilderImpl" /> diff --git a/connector/src/main/resources/specific_eIDAS_connector.storage.beans.xml b/connector/src/main/resources/specific_eIDAS_connector.storage.beans.xml index 9ee5cf88..08c7b672 100644 --- a/connector/src/main/resources/specific_eIDAS_connector.storage.beans.xml +++ b/connector/src/main/resources/specific_eIDAS_connector.storage.beans.xml @@ -18,10 +18,10 @@ /> --> + class="at.asitplus.eidas.specific.connector.storage.EidasCacheTransactionStoreDecorator" /> + class="at.asitplus.eidas.specific.connector.storage.CacheWithEidasBackend"> -- cgit v1.2.3