diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-10 08:51:45 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-10 08:51:45 +0100 |
commit | 6e2eef88e7f28a8589faf0ebc8027ef4af334f30 (patch) | |
tree | 4f1adefb1220ed2d044a8ba6495dadd043995719 | |
parent | a58825be80743c58779401ad75ee6f1936af192b (diff) | |
download | National_eIDAS_Gateway-6e2eef88e7f28a8589faf0ebc8027ef4af334f30.tar.gz National_eIDAS_Gateway-6e2eef88e7f28a8589faf0ebc8027ef4af334f30.tar.bz2 National_eIDAS_Gateway-6e2eef88e7f28a8589faf0ebc8027ef4af334f30.zip |
add configuration property to define countrySelection template
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"; |