diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-06-11 12:02:32 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-06-11 12:02:32 +0200 |
commit | 5d116ec83b88e81758e8a174ff4ed7a2f22526ac (patch) | |
tree | 9ae6e3d40ae1aed6da269bc056cc02b76e26aac0 /id | |
parent | c4671f7b414547ab3f412eb46d35f6048d463307 (diff) | |
download | moa-id-spss-5d116ec83b88e81758e8a174ff4ed7a2f22526ac.tar.gz moa-id-spss-5d116ec83b88e81758e8a174ff4ed7a2f22526ac.tar.bz2 moa-id-spss-5d116ec83b88e81758e8a174ff4ed7a2f22526ac.zip |
update error handling
Diffstat (limited to 'id')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java | 12 |
1 files 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)) { |