From 6e2eef88e7f28a8589faf0ebc8027ef4af334f30 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 10 Dec 2019 08:51:45 +0100 Subject: add configuration property to define countrySelection template --- .../connector/processes/tasks/GenerateCountrySelectionFrameTask.java | 4 +++- .../at/asitplus/eidas/specific/connector/MsEidasNodeConstants.java | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/connector/src/main/java/at/asitplus/eidas/specific/connector/processes/tasks/GenerateCountrySelectionFrameTask.java b/connector/src/main/java/at/asitplus/eidas/specific/connector/processes/tasks/GenerateCountrySelectionFrameTask.java index bf7453de..86808f01 100644 --- a/connector/src/main/java/at/asitplus/eidas/specific/connector/processes/tasks/GenerateCountrySelectionFrameTask.java +++ b/connector/src/main/java/at/asitplus/eidas/specific/connector/processes/tasks/GenerateCountrySelectionFrameTask.java @@ -69,7 +69,9 @@ public class GenerateCountrySelectionFrameTask extends AbstractAuthServletTask { final IGuiBuilderConfiguration config = new StaticGuiBuilderConfiguration( basicConfig, pendingReq, - MsEidasNodeConstants.TEMPLATE_HTML_COUNTRYSELECTION, + basicConfig.getBasicConfiguration( + MsEidasNodeConstants.PROP_CONFIG_WEBCONTENT_TEMPLATES_CCSELECTION, + MsEidasNodeConstants.TEMPLATE_HTML_COUNTRYSELECTION), MsEidasNodeConstants.ENDPOINT_COUNTRYSELECTION, resourceLoader); diff --git a/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/MsEidasNodeConstants.java b/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/MsEidasNodeConstants.java index c13fcbf2..cc811250 100644 --- a/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/MsEidasNodeConstants.java +++ b/connector_lib/src/main/java/at/asitplus/eidas/specific/connector/MsEidasNodeConstants.java @@ -45,6 +45,8 @@ public class MsEidasNodeConstants { public static final String PROP_CONFIG_WEBCONTENT_PROPERTIES_PATH = "webcontent.properties"; public static final String PROP_CONFIG_WEBCONTENT_TEMPLATES_PATH = "webcontent.templates"; + public static final String PROP_CONFIG_WEBCONTENT_TEMPLATES_CCSELECTION = "webcontent.templates.countryselection"; + public static final String PROP_CONFIG_MONITORING_EIDASNODE_METADATAURL = "monitoring.eIDASNode.metadata.url"; -- cgit v1.2.3