diff options
Diffstat (limited to 'id/server/modules/moa-id-module-eIDAS/src/main/resources/eid4u.Authentication.process.xml')
-rw-r--r-- | id/server/modules/moa-id-module-eIDAS/src/main/resources/eid4u.Authentication.process.xml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/id/server/modules/moa-id-module-eIDAS/src/main/resources/eid4u.Authentication.process.xml b/id/server/modules/moa-id-module-eIDAS/src/main/resources/eid4u.Authentication.process.xml index 56af3955e..4ab49641f 100644 --- a/id/server/modules/moa-id-module-eIDAS/src/main/resources/eid4u.Authentication.process.xml +++ b/id/server/modules/moa-id-module-eIDAS/src/main/resources/eid4u.Authentication.process.xml @@ -17,9 +17,12 @@ <pd:Task id="finalizeAuthentication" class="FinalizeAuthenticationTask" /> <pd:Task id="getForeignID" class="GetForeignIDTask" async="true" /> <pd:Task id="userRestrictionTask" class="UserRestrictionTask" /> + <pd:Task id="genericFrontChannelRedirectTask" class="GenericFrontChannelRedirectTask"/> <!-- eID4U extensions --> - <pd:Task id="collectAddtionalAttributesTask" class="CollectAddtionalAttributesTask" /> + <pd:Task id="collectAddtionalAttributesTask" class="CollectAddtionalAttributesTask" async="true"/> + <pd:Task id="receiveConsentForAddtionalAttributesTask" class="ReceiveConsentForAddtionalAttributesTask" async="true"/> + @@ -53,11 +56,15 @@ <pd:Transition from="getForeignID" to="userRestrictionTask" /> - <pd:Transition from="userRestrictionTask" to="collectAddtionalAttributesTask" /> + <pd:Transition from="userRestrictionTask" to="genericFrontChannelRedirectTask" /> + + <!-- eID4U tasks for attribute collection --> + <pd:Transition from="genericFrontChannelRedirectTask" to="collectAddtionalAttributesTask" /> - <!-- eID4U tasks for attribute collection --> - <pd:Transition from="collectAddtionalAttributesTask" to="finalizeAuthentication" /> + <pd:Transition from="collectAddtionalAttributesTask" to="receiveConsentForAddtionalAttributesTask" conditionExpression="ctx['collecteID4UAttr']" /> + <pd:Transition from="collectAddtionalAttributesTask" to="finalizeAuthentication" conditionExpression="!ctx['collecteID4UAttr']" /> + <pd:Transition from="receiveConsentForAddtionalAttributesTask" to="finalizeAuthentication" /> <pd:Transition from="finalizeAuthentication" to="end" /> |