aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-05-11 15:56:13 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-05-11 15:56:13 +0200
commit9b9f042a25d3a1cde69f9dd4d576243317991a2a (patch)
tree0f6b5646a3a421bb6b2cb43f6258ef39aa5cfe98 /id/server/idserverlib/src/main/java
parent33eeca29987b49448d9fa95a8ffd2306ff4ce783 (diff)
downloadmoa-id-spss-9b9f042a25d3a1cde69f9dd4d576243317991a2a.tar.gz
moa-id-spss-9b9f042a25d3a1cde69f9dd4d576243317991a2a.tar.bz2
moa-id-spss-9b9f042a25d3a1cde69f9dd4d576243317991a2a.zip
fix bug in PVP SLO functionality
Diffstat (limited to 'id/server/idserverlib/src/main/java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/SingleLogOutAction.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/SingleLogOutAction.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/SingleLogOutAction.java
index af6c79140..52bf16247 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/SingleLogOutAction.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/SingleLogOutAction.java
@@ -125,7 +125,10 @@ public class SingleLogOutAction implements IAction {
String moasession = ssomanager.getMOASession(ssoID);
try {
session = authenticationSessionStorage.getSession(moasession);
-
+
+ if (session == null)
+ throw new MOADatabaseException();
+
} catch (MOADatabaseException e) {
Logger.info("Can not find active Session. Single LogOut not possible!");
SingleLogoutService sloService = sloBuilder.getResponseSLODescriptor(pvpReq);