From c8dfbc7f0b55a4f8c5238452055e5087fe46d675 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 22 Aug 2022 17:10:28 +0200 Subject: feat(core): add default error-handler to show custom error-page on any error --- ms_specific_connector/src/main/resources/application.properties | 2 +- .../src/main/resources/properties/messages.properties | 4 ++++ .../src/main/resources/properties/messages_de.properties | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) (limited to 'ms_specific_connector/src') 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 -- cgit v1.2.3