aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-06-10 15:01:33 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-06-10 15:01:33 +0200
commitf5f4570270da08bf45c662c41df2642ddf015436 (patch)
treeccaaae8a8ee66cd7c62e710c108a260ef22881f3 /id/server/idserverlib/src/main/java/at
parent0bd2e2b85eba11aface6a00387ceb4073796c11f (diff)
downloadmoa-id-spss-f5f4570270da08bf45c662c41df2642ddf015436.tar.gz
moa-id-spss-f5f4570270da08bf45c662c41df2642ddf015436.tar.bz2
moa-id-spss-f5f4570270da08bf45c662c41df2642ddf015436.zip
add default message if no SSO session is found
Diffstat (limited to 'id/server/idserverlib/src/main/java/at')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/servlet/IDPSingleLogOutServlet.java19
1 files changed, 16 insertions, 3 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 ac4e56023..0e72f219d 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
@@ -114,9 +114,22 @@ public class IDPSingleLogOutServlet extends AuthServlet {
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();
+ }
+
+ }
+ }
}