aboutsummaryrefslogtreecommitdiff
path: root/ms_specific_connector/src
diff options
context:
space:
mode:
authorThomas <>2022-08-22 17:10:28 +0200
committerThomas <>2022-08-22 17:10:28 +0200
commitc8dfbc7f0b55a4f8c5238452055e5087fe46d675 (patch)
tree00f78021478af4a96b0e41f61eaf0c6e4a7781f9 /ms_specific_connector/src
parent28d59b19a4bc60ce4662e01a3c2ae18d38e675e6 (diff)
downloadNational_eIDAS_Gateway-c8dfbc7f0b55a4f8c5238452055e5087fe46d675.tar.gz
National_eIDAS_Gateway-c8dfbc7f0b55a4f8c5238452055e5087fe46d675.tar.bz2
National_eIDAS_Gateway-c8dfbc7f0b55a4f8c5238452055e5087fe46d675.zip
feat(core): add default error-handler to show custom error-page on any error
Diffstat (limited to 'ms_specific_connector/src')
-rw-r--r--ms_specific_connector/src/main/resources/application.properties2
-rw-r--r--ms_specific_connector/src/main/resources/properties/messages.properties4
-rw-r--r--ms_specific_connector/src/main/resources/properties/messages_de.properties5
3 files changed, 9 insertions, 2 deletions
diff --git a/ms_specific_connector/src/main/resources/application.properties b/ms_specific_connector/src/main/resources/application.properties
index 1a245851..5a68e29a 100644
--- a/ms_specific_connector/src/main/resources/application.properties
+++ b/ms_specific_connector/src/main/resources/application.properties
@@ -25,7 +25,7 @@ management.endpoints.web.exposure.include=health,info
eidas.ms.context.url.request.validation=false
#eidas.ms.configRootDir=file:/.../config/
eidas.ms.context.use.clustermode=true
-eidas.ms.core.logging.level.info.errorcodes=auth.21
+eidas.ms.core.logging.level.info.errorcodes=auth.21,internal.96,internal.97
##Monitoring
eidas.ms.monitoring.eIDASNode.metadata.url=
diff --git a/ms_specific_connector/src/main/resources/properties/messages.properties b/ms_specific_connector/src/main/resources/properties/messages.properties
index cc60cd6e..848be229 100644
--- a/ms_specific_connector/src/main/resources/properties/messages.properties
+++ b/ms_specific_connector/src/main/resources/properties/messages.properties
@@ -10,6 +10,10 @@ gui.errorpage.msg.errorcode=Error Code:
gui.errorpage.msg.errormsg=Error Message:
gui.errorpage.msg.stacktrace=Stacktrace:
+internal.96=Your are at Austrian eIDAS Service implementation and the requested page is only available during authentication by using the eIDAS framework.
+internal.97=Your are at Austrian eIDAS Service implementation and the requested page does not exist.
+
+
##Country-Selection page
gui.countryselection.title=eIDAS-Login Countryselection
gui.countryselection.logo.bmi.alt=Logo BMI
diff --git a/ms_specific_connector/src/main/resources/properties/messages_de.properties b/ms_specific_connector/src/main/resources/properties/messages_de.properties
index 6f470ea0..31733497 100644
--- a/ms_specific_connector/src/main/resources/properties/messages_de.properties
+++ b/ms_specific_connector/src/main/resources/properties/messages_de.properties
@@ -10,6 +10,9 @@ gui.errorpage.msg.errorcode=Fehlercode :
gui.errorpage.msg.errormsg=Fehlermeldung:
gui.errorpage.msg.stacktrace=Stacktrace:
+internal.96=Sie befinden sich am österreichischen eIDAS Service und die von Ihnen aufgerufene Seite kann nur im Zuge eines Anmeldeprozesses via eIDAS Netzwerk aufgerufen werden.
+internal.97=Sie befinden sich am österreichischen eIDAS Service und die von Ihnen aufgerufene Seite existiert nicht.
+
##Country-Selection page
gui.countryselection.title=eIDAS-Login Länderauswahl
gui.countryselection.logo.bmi.alt=Logo BMI
@@ -126,4 +129,4 @@ gui.residency.input.postleitzahl=PLZ
gui.residency.input.municipality=Gemeinde
gui.residency.input.village=Ortschaft
gui.residency.input.street=Straße
-gui.residency.input.number=Nummer \ No newline at end of file
+gui.residency.input.number=Nummer