summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-11-12 09:47:08 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-11-12 09:47:08 +0100
commit465c25d4d338b4058366456d3fd7a41cd372481b (patch)
tree26eadc10f9a856d17299d4007d1073e11c57111e /eaaf_core_api/src/main
parent25c26922b092072330d04ca36a441df2770b7807 (diff)
downloadEAAF-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')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EAAFConstants.java1
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/modules/AuthModule.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EAAFConstants.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EAAFConstants.java
index 2397ef0a..32ea7a6f 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EAAFConstants.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EAAFConstants.java
@@ -68,7 +68,6 @@ public class EAAFConstants {
public static final String PROCESS_ENGINE_PENDINGREQUESTID = PROCESS_ENGINE_PREFIX + PARAM_HTTP_TARGET_PENDINGREQUESTID;
public static final String PROCESS_ENGINE_SERVICE_PROVIDER_ENTITYID = PROCESS_ENGINE_PREFIX + "uniqueSPId";
public static final String PROCESS_ENGINE_SSL_CLIENT_CERTIFICATE = PROCESS_ENGINE_PREFIX + "holderofkey_cert";
- public static final String PROCESSCONTEXT_SP_CONFIG = PROCESS_ENGINE_PREFIX + "spConfig";
public static final String PROCESS_ENGINE_REQUIRES_NO_POSTAUTH_REDIRECT
= PROCESS_ENGINE_PREFIX + "requireNoPostAuthRedirect";
public static final String PROCESSCONTEXT_SWITCH_LANGUAGE = "changeLanguage";
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.