diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-09-13 09:14:15 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-09-13 09:14:15 +0200 |
commit | 611b79ba1e87b90367aab1c4f901fef352cdf856 (patch) | |
tree | 5858da98e290ee45b42739b0ee80fa7ca684cef7 /eidas_modules/authmodule-eIDAS-v2/src/main/java | |
parent | 48c01192e1be9143eca957140aed879018956c45 (diff) | |
download | National_eIDAS_Gateway-611b79ba1e87b90367aab1c4f901fef352cdf856.tar.gz National_eIDAS_Gateway-611b79ba1e87b90367aab1c4f901fef352cdf856.tar.bz2 National_eIDAS_Gateway-611b79ba1e87b90367aab1c4f901fef352cdf856.zip |
update error message
Diffstat (limited to 'eidas_modules/authmodule-eIDAS-v2/src/main/java')
-rw-r--r-- | eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/authmodule_eIDASv2/tasks/GenerateAuthnRequestTask.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/authmodule_eIDASv2/tasks/GenerateAuthnRequestTask.java b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/authmodule_eIDASv2/tasks/GenerateAuthnRequestTask.java index eefa2b97..eb020d3f 100644 --- a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/authmodule_eIDASv2/tasks/GenerateAuthnRequestTask.java +++ b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/authmodule_eIDASv2/tasks/GenerateAuthnRequestTask.java @@ -188,7 +188,9 @@ public class GenerateAuthnRequestTask extends AbstractAuthServletTask { if (StringUtils.isEmpty(forwardURL)) { log.warn("NO ForwardURL defined in configuration. Can NOT forward to eIDAS node! Process stops"); - throw new EAAFConfigurationException("config.08", new Object[] {Constants.CONIG_PROPS_EIDAS_NODE_FORWARD_URL}); + throw new EAAFConfigurationException("config.08", new Object[] { + (environment==null)?Constants.CONIG_PROPS_EIDAS_NODE_FORWARD_URL:Constants.CONIG_PROPS_EIDAS_NODE_FORWARD_URL+"."+environment + }); } log.debug("ForwardURL: " + forwardURL + " selected to forward eIDAS request"); |