From 32bf99d2652cc9a658aaa4aa3c16950e0d0b3a9f Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 16 Jun 2014 09:56:36 +0200 Subject: update default error handling --- .../java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java | 4 ++-- .../src/main/resources/resources/properties/id_messages_de.properties | 1 + .../resources/properties/protocol_response_statuscodes_de.properties | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java index 0cbe749e0..8e8863cbe 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java @@ -159,8 +159,8 @@ public class DispatcherServlet extends AuthServlet{ req, resp); } } - handleErrorNoRedirect(throwable.getMessage(), throwable, - req, resp); + handleErrorNoRedirect(MOAIDMessageProvider.getInstance().getMessage("auth.26", null), + null, req, resp); return; } diff --git a/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties b/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties index 0f9792e79..a3fefad82 100644 --- a/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties +++ b/id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties @@ -43,6 +43,7 @@ auth.22=Das Protokoll {0} ist deaktiviert. auth.23=Das BKU-Selektion Template entspricht nicht der Spezifikation von MOA-ID 2.x. auth.24=Das Send-Assertion Template entspricht nicht der Spezifikation von MOA-ID 2.x. auth.25=Fehler beim validieren der SZR-Gateway Response. +auth.26=SessionID umbekannt. init.00=MOA ID Authentisierung wurde erfolgreich gestartet init.01=Fehler beim Aktivieren des IAIK-JCE/JSSE/JDK1.3 Workaround\: SSL ist m\u00F6glicherweise nicht verf\u00FCgbar diff --git a/id/server/idserverlib/src/main/resources/resources/properties/protocol_response_statuscodes_de.properties b/id/server/idserverlib/src/main/resources/resources/properties/protocol_response_statuscodes_de.properties index 2a55ea64c..7ea0fe89a 100644 --- a/id/server/idserverlib/src/main/resources/resources/properties/protocol_response_statuscodes_de.properties +++ b/id/server/idserverlib/src/main/resources/resources/properties/protocol_response_statuscodes_de.properties @@ -23,6 +23,7 @@ auth.22=6000 auth.23=9000 auth.24=9001 auth.25=1109 +auth.26=1100 init.00=9199 init.01=9199 -- cgit v1.2.3