aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-02-25 14:45:28 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-02-25 14:45:28 +0100
commit3eabe96b7e8ba03c9c6d3a17f80022436b40f45d (patch)
tree01e98580167b16099b13086ab38e8db144760286
parent1e94ef8839add787001c14d03fc29cf1b84c85b9 (diff)
downloadmoa-id-spss-3eabe96b7e8ba03c9c6d3a17f80022436b40f45d.tar.gz
moa-id-spss-3eabe96b7e8ba03c9c6d3a17f80022436b40f45d.tar.bz2
moa-id-spss-3eabe96b7e8ba03c9c6d3a17f80022436b40f45d.zip
catch exceptions in IDP initiated SLO implementation
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java
index 6631a1d53..513b410f1 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java
@@ -139,13 +139,9 @@ public class IDPSingleLogOutServlet extends AbstractController {
}
}
}
- } catch (MOADatabaseException e) {
- //TODO: insert error Handling
- e.printStackTrace();
+ } catch (Exception e) {
+ handleErrorNoRedirect(e, req, resp, false);
- } catch (MOAIDException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
}
} else if (restartProcessObj != null && restartProcessObj instanceof String) {