From 50989e23f0c89cf060c9e3050c5d0de5636e6e6a Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 12 Jun 2014 15:01:25 +0200 Subject: add default IDP SLO message --- .../id/auth/servlet/IDPSingleLogOutServlet.java | 33 +++++++++++----------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment') 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 778c5ef34..536f3ee04 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 @@ -99,6 +99,7 @@ public class IDPSingleLogOutServlet extends AuthServlet { .getSession(moaSessionID); if(authSession != null) { authmanager.performSingleLogOut(req, resp, authSession, null); + return; } @@ -109,23 +110,21 @@ public class IDPSingleLogOutServlet extends AuthServlet { // TODO Auto-generated catch block e.printStackTrace(); } - } - } - - } else { - VelocityContext context = new VelocityContext(); - context.put("successMsg", - MOAIDMessageProvider.getInstance().getMessage("slo.02", null)); - try { - ssomanager.printSingleLogOutInfo(context, resp); - - - } catch (MOAIDException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - - } + } + } + } + + VelocityContext context = new VelocityContext(); + context.put("successMsg", + MOAIDMessageProvider.getInstance().getMessage("slo.02", null)); + try { + ssomanager.printSingleLogOutInfo(context, resp); + + } catch (MOAIDException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + } } -- cgit v1.2.3