aboutsummaryrefslogtreecommitdiff
path: root/id/server
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-06-12 15:01:25 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-06-12 15:01:25 +0200
commit50989e23f0c89cf060c9e3050c5d0de5636e6e6a (patch)
tree30ed9eb51696a6d831840107fbc2502e727e15a7 /id/server
parentc4fd185b6c274e190d3598c19f3452fbbdc25fb1 (diff)
downloadmoa-id-spss-50989e23f0c89cf060c9e3050c5d0de5636e6e6a.tar.gz
moa-id-spss-50989e23f0c89cf060c9e3050c5d0de5636e6e6a.tar.bz2
moa-id-spss-50989e23f0c89cf060c9e3050c5d0de5636e6e6a.zip
add default IDP SLO messageMOA-ID-2.0-RC2
Diffstat (limited to 'id/server')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java33
1 files changed, 16 insertions, 17 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 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();
+ }
+
}
}