Class Xs2aRedirectExecutor
- java.lang.Object
-
- de.adorsys.opba.protocol.xs2a.service.xs2a.Xs2aRedirectExecutor
-
-
Constructor Summary
Constructors Constructor Description Xs2aRedirectExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidredirect(org.flowable.engine.delegate.DelegateExecution execution, Xs2aContext context, String uiScreenUriSpel, String destinationUri)Redirects PSU to some page (or emits FinTech redirection required) by performing interpolation of the string returned byuiScreenUriSpelvoidredirect(org.flowable.engine.delegate.DelegateExecution execution, Xs2aContext context, String uiScreenUriSpel, String destinationUri, Function<Redirect.RedirectBuilder,? extends Redirect> eventFactory)Redirects PSU to some page (or emits FinTech redirection required) by performing interpolation of the string returned byuiScreenUriSpelvoidredirect(org.flowable.engine.delegate.DelegateExecution execution, Xs2aContext context, Function<ProtocolUrlsConfiguration,String> urlSelector)Redirects PSU to some page (or emits FinTech redirection required) by performing interpolation of the string returned byurlSelector
-
-
-
Method Detail
-
redirect
public void redirect(org.flowable.engine.delegate.DelegateExecution execution, Xs2aContext context, Function<ProtocolUrlsConfiguration,String> urlSelector)Redirects PSU to some page (or emits FinTech redirection required) by performing interpolation of the string returned byurlSelector- Parameters:
execution- Execution context of the current processcontext- Current XS2A contexturlSelector- Redirection URL configurer - selects which URL template to use
-
redirect
public void redirect(org.flowable.engine.delegate.DelegateExecution execution, Xs2aContext context, String uiScreenUriSpel, String destinationUri)Redirects PSU to some page (or emits FinTech redirection required) by performing interpolation of the string returned byuiScreenUriSpel- Parameters:
execution- Execution context of the current processcontext- Current XS2A contextuiScreenUriSpel- UI screen SpEL expression to interpolatedestinationUri- URL where UI screen should redirect user to if he clicks OK (i.e. to ASPSP redirection where user must click OK button in order to be redirected to ASPSP)
-
redirect
public void redirect(org.flowable.engine.delegate.DelegateExecution execution, Xs2aContext context, String uiScreenUriSpel, String destinationUri, Function<Redirect.RedirectBuilder,? extends Redirect> eventFactory)Redirects PSU to some page (or emits FinTech redirection required) by performing interpolation of the string returned byuiScreenUriSpel- Parameters:
execution- Execution context of the current processcontext- Current XS2A contextuiScreenUriSpel- UI screen SpEL expression to interpolatedestinationUri- URL where UI screen should redirect user to if he clicks OK (i.e. to ASPSP redirection where user must click OK button in order to be redirected to ASPSP)eventFactory- Allows to construct custom event with redirection parameters.
-
-