<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition id="BKAMobileAuthentication" xmlns:pd="http://reference.e-government.gv.at/namespace/moa/process/definition/v1">

<!--
	STORK authentication both with C-PEPS supporting xml signatures and with C-PEPS not supporting xml signatures.
-->
	<pd:Task id="firstStep"                            class="FirstBKAMobileAuthTask" />
	<pd:Task id="secondStep"                           class="SecondBKAMobileAuthTask" />
	<pd:Task id="finalizeAuthentication" 			   class="FinalizeAuthenticationTask" />

	<!-- Process is triggered either by GenerateIFrameTemplateServlet (upon bku selection) or by AuthenticationManager (upon legacy authentication start using legacy parameters. -->
	<pd:StartEvent id="start" />
	
	<pd:Transition from="start" to="secondStep" />				
	<pd:Transition from="secondStep" to="finalizeAuthentication" />

<!-- 	<pd:Transition from="firstStep" to="secondStep"/> -->	
	<!-- <pd:Transition from="firstStep" to="finalizeAuthentication" /> -->
	
	<pd:Transition from="finalizeAuthentication"    to="end" />
	
	<pd:EndEvent id="end" />

</pd:ProcessDefinition>