aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-12-10 08:51:45 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-12-10 08:51:45 +0100
commit6e2eef88e7f28a8589faf0ebc8027ef4af334f30 (patch)
tree4f1adefb1220ed2d044a8ba6495dadd043995719
parenta58825be80743c58779401ad75ee6f1936af192b (diff)
downloadNational_eIDAS_Gateway-6e2eef88e7f28a8589faf0ebc8027ef4af334f30.tar.gz
National_eIDAS_Gateway-6e2eef88e7f28a8589faf0ebc8027ef4af334f30.tar.bz2
National_eIDAS_Gateway-6e2eef88e7f28a8589faf0ebc8027ef4af334f30.zip
add configuration property to define countrySelection template
-rw-r--r--connector/src/main/java/at/asitplus/eidas/specific/connector/processes/tasks/GenerateCountrySelectionFrameTask.java4
-rw-r--r--connector_lib/src/main/java/at/asitplus/eidas/specific/connector/MsEidasNodeConstants.java2
2 files changed, 5 insertions, 1 deletions
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";