diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-11-12 09:47:08 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-11-12 09:47:08 +0100 |
commit | 465c25d4d338b4058366456d3fd7a41cd372481b (patch) | |
tree | 26eadc10f9a856d17299d4007d1073e11c57111e /eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules | |
parent | 25c26922b092072330d04ca36a441df2770b7807 (diff) | |
download | EAAF-Components-465c25d4d338b4058366456d3fd7a41cd372481b.tar.gz EAAF-Components-465c25d4d338b4058366456d3fd7a41cd372481b.tar.bz2 EAAF-Components-465c25d4d338b4058366456d3fd7a41cd372481b.zip |
refactor AuthModule interface to inject current IRequest into selectProcess method
Diffstat (limited to 'eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules/AuthModule.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules/AuthModule.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules/AuthModule.java index 16df7231..7f5eef06 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules/AuthModule.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules/AuthModule.java @@ -26,6 +26,7 @@ *******************************************************************************/ package at.gv.egiz.eaaf.core.api.idp.auth.modules; +import at.gv.egiz.eaaf.core.api.IRequest; import at.gv.egiz.eaaf.core.api.idp.process.ExecutionContext; /** @@ -53,9 +54,10 @@ public interface AuthModule { * * @param context * an ExecutionContext for a process. + * @param pendingReq the current processed pending request * @return the process-ID of a process which is able to work with the given ExecutionContext, or {@code null}. */ - String selectProcess(ExecutionContext context); + String selectProcess(ExecutionContext context, IRequest pendingReq); /** * Returns the an Array of {@link ProcessDefinition}s of the processes included in this module. |