From 02c8926d1ae2e9b7ed0d9693b46a878711b145f1 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 9 Oct 2024 09:27:13 +0200 Subject: chore(core): optimize process parameters for Web-based or iFrame-based authentication processes --- .../java/at/gv/egiz/eaaf/core/api/IRequest.java | 34 +++++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) (limited to 'eaaf_core_api/src/main') diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java index e10ec716..a4b532c7 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java @@ -272,21 +272,39 @@ public interface IRequest extends Serializable { void setAbortedByUser(boolean isAborted); /** - * Indicates, if the current process stage is in iFrame. + * Indicates, if the current process stage is Web-Browser based. * - *
If the current state is marked as 'in iFrame', - * than the process engine will perform an target=_parent hope in case of an error
* - * @return true, if the process is in iFrame, otherwise false + * @return true, if the process is in Web-Browser, otherwise false */ - boolean isProcessInIframe(); + boolean isWebBasedProcess(); /** - * Set the 'isProcessInIframe' flag to this pending-request. + * Set the 'isWebBasedProcess' flag to this pending-request. * - * @param flag true, if the process is in iFrame and needs a target=_parent hope in case of an error + * @param flag true, if the process is in Web-Browser */ - void setProcessInFrame(boolean flag); + void setWebBasedProcess(boolean flag); + + /** + * Indicates, if the current process stage is iFrame based. + * + *+ * If the current state is marked as 'in iFrame', than the process engine will + * perform an target=_parent hope in case of an error + *
+ * + * @return true, if the process is in Web-Browser, otherwise false + */ + boolean isIframebBasedProcess(); + + /** + * Set the 'isIFramebBasedProcess' flag to this pending-request. + * + * @param flag true, if the process is an iFrame and needs a target=_parent hope + * in case of an error + */ + void setIframebBasedProcess(boolean flag); -- cgit v1.2.3