aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-06-16 09:56:36 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-06-16 09:56:36 +0200
commit32bf99d2652cc9a658aaa4aa3c16950e0d0b3a9f (patch)
tree7773122f666cb36c2eab27096b84b2d60e253103 /id
parent83f111250857fe094cf503c3dcb08b6a0f9e9922 (diff)
downloadmoa-id-spss-32bf99d2652cc9a658aaa4aa3c16950e0d0b3a9f.tar.gz
moa-id-spss-32bf99d2652cc9a658aaa4aa3c16950e0d0b3a9f.tar.bz2
moa-id-spss-32bf99d2652cc9a658aaa4aa3c16950e0d0b3a9f.zip
update default error handling
Diffstat (limited to 'id')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java4
-rw-r--r--id/server/idserverlib/src/main/resources/resources/properties/id_messages_de.properties1
-rw-r--r--id/server/idserverlib/src/main/resources/resources/properties/protocol_response_statuscodes_de.properties1
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