@Override
    protected void doInitialize() {
        val riskVerificationFlow = buildFlow(CasWebflowConfigurer.FLOW_ID_RISK_VERIFICATION);
        val checkRiskTokenState = createActionState(riskVerificationFlow,
            CasWebflowConstants.STATE_ID_RISK_AUTHENTICATION_TOKEN_CHECK,
            CasWebflowConstants.ACTION_ID_RISK_AUTHENTICATION_TOKEN_CHECK);
        val confirmationView = createEndState(riskVerificationFlow, "riskVerificationConfirmationView", "adaptive-authn/casRiskAuthenticationVerifiedView");
        createStateDefaultTransition(checkRiskTokenState, confirmationView.getId());
        riskVerificationFlow.setStartState(checkRiskTokenState);
        flowDefinitionRegistry.registerFlowDefinition(riskVerificationFlow);
    }
This is {@link RiskAuthenticationVerificationWebflowConfigurer}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-electrofence/src/main/java/org/apereo/cas/web/flow/RiskAuthenticationVerificationWebflowConfigurer.java