summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-11-21 15:50:47 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-11-21 15:50:47 +0100
commitc462397ede1f65eac1817acda6145bed9e894555 (patch)
tree9c4bb0b13c5cfca7047755cc2403f1685069ad2b
parente68e82632d9eefc93e782095ccd66753faf4b637 (diff)
downloadEAAF-Components-c462397ede1f65eac1817acda6145bed9e894555.tar.gz
EAAF-Components-c462397ede1f65eac1817acda6145bed9e894555.tar.bz2
EAAF-Components-c462397ede1f65eac1817acda6145bed9e894555.zip
update pendingReqId also on executionContext
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/modules/AbstractAuthServletTask.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/modules/AbstractAuthServletTask.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/modules/AbstractAuthServletTask.java
index 7579bb85..0b334126 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/modules/AbstractAuthServletTask.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/modules/AbstractAuthServletTask.java
@@ -50,6 +50,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import at.gv.egiz.eaaf.core.api.IRequest;
import at.gv.egiz.eaaf.core.api.IRequestStorage;
+import at.gv.egiz.eaaf.core.api.data.EAAFConstants;
import at.gv.egiz.eaaf.core.api.idp.IConfiguration;
import at.gv.egiz.eaaf.core.api.idp.process.ExecutionContext;
import at.gv.egiz.eaaf.core.api.logging.IRevisionLogger;
@@ -82,7 +83,10 @@ public abstract class AbstractAuthServletTask extends AbstractTask {
HttpServletResponse response) throws TaskExecutionException {
//set pending-request object
this.pendingReq = pendingReq;
-
+
+ //add latest pendingRequestId on execution context
+ executionContext.put(EAAFConstants.PROCESS_ENGINE_PENDINGREQUESTID, pendingReq.getPendingRequestId());
+
//execute task specific action
execute(executionContext, request, response);