From 5d116ec83b88e81758e8a174ff4ed7a2f22526ac Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 11 Jun 2014 12:02:32 +0200 Subject: update error handling --- .../moa/id/auth/servlet/IDPSingleLogOutServlet.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 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 0e72f219d..778c5ef34 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 @@ -74,8 +74,8 @@ public class IDPSingleLogOutServlet extends AuthServlet { context.put("errorMsg", MOAIDMessageProvider.getInstance().getMessage("slo.01", null)); - ssomanager.printSingleLogOutInfo(context, resp); - + ssomanager.printSingleLogOutInfo(context, resp); + } catch (MOAIDException e) { handleErrorNoRedirect(e.getMessage(), e, req, resp); @@ -84,12 +84,8 @@ public class IDPSingleLogOutServlet extends AuthServlet { } - } - - if (MiscUtil.isNotEmpty(status)) { - //print status information - - + return; + } else if (MiscUtil.isNotEmpty(ssoid)) { if (ssomanager.isValidSSOSession(ssoid, null)) { -- cgit v1.2.3