aboutsummaryrefslogtreecommitdiff
path: root/id/server
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-08-28 11:23:02 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-08-28 11:23:02 +0200
commitae28423ee175ba248999b9d2d69152df0a1ee108 (patch)
tree917086308d074bc628b27a7a7d8bb64c8fe26fa3 /id/server
parent5b92c77ee0283c941521731ac98db0eb6a4dc2ec (diff)
downloadmoa-id-spss-ae28423ee175ba248999b9d2d69152df0a1ee108.tar.gz
moa-id-spss-ae28423ee175ba248999b9d2d69152df0a1ee108.tar.bz2
moa-id-spss-ae28423ee175ba248999b9d2d69152df0a1ee108.zip
fix misplaced RevisionsLog entry
Diffstat (limited to 'id/server')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java10
1 files changed, 5 insertions, 5 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 f486829bf..d7809e948 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
@@ -289,11 +289,7 @@ public class DispatcherServlet extends AuthServlet{
MOAReversionLogger.getInstance().logEvent(uniqueSessionIdentifier, protocolRequestID, MOAIDEventConstants.TRANSACTION_IP, req.getRemoteAddr());
protocolRequest = info.preProcess(req, resp, action, uniqueSessionIdentifier, protocolRequestID);
-
- if (protocolRequest != null)
- MOAReversionLogger.getInstance().logEvent(protocolRequest.getOnlineApplicationConfiguration(),
- protocolRequest, MOAIDEventConstants.AUTHPROTOCOL_TYPE, protocolRequest.requestedModule());
-
+
//request is a valid interfederation response
if (protocolRequest != null &&
protocolRequest.getInterfederationResponse() != null ) {
@@ -394,6 +390,10 @@ public class DispatcherServlet extends AuthServlet{
// *** end of protocol specific stuff ***
+ if (protocolRequest != null)
+ MOAReversionLogger.getInstance().logEvent(protocolRequest.getOnlineApplicationConfiguration(),
+ protocolRequest, MOAIDEventConstants.AUTHPROTOCOL_TYPE, protocolRequest.requestedModule());
+
// *** start handling authentication ***
AuthenticationManager authmanager = AuthenticationManager.getInstance();