adn-agov-iam-project/patterns/f63c475c35b616b7c6c1901c_au.../Mobile_NLess_Auth.xml

35 lines
2.4 KiB
XML

<AuthState name="${state.entry}" class="ch.nevis.esauth.auth.states.scripting.ScriptState" final="false" resumeState="true">
<ResultCond name="registration" next="${state.exit.2}"/>
<ResultCond name="fido2" next="${state.exit.1}"/>
<ResultCond name="ok" next="${state.entry}_Processing"/>
<ResultCond name="default" next="${state.entry}"/>
<Response value="AUTH_CONTINUE">
<Gui name="mauth_usernameless">
<GuiElem name="agov.appDisplayNameDE" type="hidden" value="${sess:agov.appDisplayNameDE}" optional="true"/>
<GuiElem name="agov.appDisplayNameFR" type="hidden" value="${sess:agov.appDisplayNameFR}" optional="true"/>
<GuiElem name="agov.appDisplayNameIT" type="hidden" value="${sess:agov.appDisplayNameIT}" optional="true"/>
<GuiElem name="agov.appDisplayNameEN" type="hidden" value="${sess:agov.appDisplayNameEN}" optional="true"/>
<GuiElem name="agov.appSamlRpEntityId" type="hidden" value="${var.appIconUrl}${sess:ch.nevis.auth.saml.request.scoping.requesterId}" optional="true"/>
<GuiElem name="authRequestId" type="hidden" value="${sess:ch.nevis.auth.saml.request.id}" optional="true"/>
<GuiElem name="fallback" type="button" label="mobile_auth.cancel.button.label" value="true" optional="true"/>
</Gui>
</Response>
<property name="scriptTraceGroup" value="AGOV-ACCT"/>
<property name="script" value="file:///var/opt/nevisauth/default/conf/mobile_nless_auth.groovy"/>
<property name="parameter.agovmeregistrationurl" value="${var.agovmeregistrationurl}"/>
<property name="parameter.recoveryurl" value="${var.recoveryurl}"/>
</AuthState>
<AuthState name="${state.entry}_Processing" class="ch.nevis.auth.fido.uaf.authstate.OutOfBandFidoUafAuthState" final="false" resumeState="false">
<ResultCond name="error" next="${state.entry}_Processing"/>
<ResultCond name="failed" next="${state.entry}"/>
<ResultCond name="dispatchFailed" next="${state.entry}_Processing"/>
<ResultCond name="ok" next="${state.done}" authLevel="2"/>
<Response value="AUTH_ERROR">
<Arg name="ch.nevis.isiweb4.response.status" value="403"/>
</Response>
<property name="fidoUafServerUrl" value="https://fido-uaf:9443/nevisfido"/>
<property name="dispatcher" value="link"/>
<property name="httpclient.tls.trustStoreRef" value="${keystore}"/>
</AuthState>