aboutsummaryrefslogtreecommitdiff
path: root/id/server
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-04-23 11:47:46 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-04-23 11:47:46 +0200
commit189caec9a0ab4457821e71a8f390e4077057b88c (patch)
treeed6c625119764730dbaa75c09951e453cd9f693b /id/server
parent57a308e8e61dd1dd435b149ec01a66059f10adfb (diff)
downloadmoa-id-spss-189caec9a0ab4457821e71a8f390e4077057b88c.tar.gz
moa-id-spss-189caec9a0ab4457821e71a8f390e4077057b88c.tar.bz2
moa-id-spss-189caec9a0ab4457821e71a8f390e4077057b88c.zip
move code for SSO sessionID logging
Diffstat (limited to 'id/server')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java
index b287eb014..fa564d046 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java
@@ -248,9 +248,6 @@ public class DispatcherServlet extends AuthServlet{
SSOManager ssomanager = SSOManager.getInstance();
String ssoId = ssomanager.getSSOSessionID(req);
- //load unique session identifier with SSO-sessionID
- uniqueSessionIdentifier = ssomanager.getUniqueSessionIdentifier(ssoId);
-
try {
Object idObject = req.getParameter(PARAM_TARGET_PENDINGREQUESTID);
@@ -278,6 +275,8 @@ public class DispatcherServlet extends AuthServlet{
//set transactionID to Logger
protocolRequestID = Random.nextRandom();
+ //load unique session identifier with SSO-sessionID
+ uniqueSessionIdentifier = ssomanager.getUniqueSessionIdentifier(ssoId);
if (MiscUtil.isEmpty(uniqueSessionIdentifier))
uniqueSessionIdentifier = Random.nextRandom();