adn-agov-iam-project/patterns/6364d27d1ca954be8ef7cb46_au.../Recovery_emailSent_screen

21 lines
1.2 KiB
Plaintext

<AuthState name="${state.entry}" class="ch.nevis.esauth.auth.states.standard.ConditionalDispatcherState" final="true" resumeState="true">
<ResultCond name="default" next="${state.entry}"/>
<ResultCond name="noEmail" next="${state.entry}_noEmail"/>
<ResultCond name="hasCode" next="${state.done}"/>
<Response value="AUTH_CONTINUE">
<Gui name="recovery_intro_email_sent">
<GuiElem name="authRequestId" type="hidden" value="${sess:ch.nevis.auth.saml.request.id}" optional="true"/>
<GuiElem name="noEmail" type="submit" label="not used" value="not used" optional="true"/>
</Gui>
</Response>
<property name="condition:noEmail" value="#{inargs.containsKey('noEmail')}"/>
<property name="condition:hasCode" value="#{inargs.containsKey('cd')}"/>
</AuthState>
<AuthState name="${state.entry}_noEmail" class="ch.nevis.esauth.auth.states.standard.TransformAttributes" final="false" resumeState="false">
<ResultCond name="default" next="${state.failed}"/>
<Response value="AUTH_CONTINUE"/>
<property name="sess:agov.recovery.code" value=""/>
<property name="removeOnEmptyValue" value="true"/>
<property name="notes:invalidUrlTicket" value="not received"/>
</AuthState>