From c462397ede1f65eac1817acda6145bed9e894555 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 21 Nov 2018 15:50:47 +0100 Subject: update pendingReqId also on executionContext --- .../eaaf/core/impl/idp/auth/modules/AbstractAuthServletTask.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eaaf_core') 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); -- cgit v1.2.3