private void createInitialLoginAction(final Flow flow) {
        val state = createActionState(flow, CasWebflowConstants.STATE_ID_INIT_LOGIN_FORM,
            CasWebflowConstants.ACTION_ID_INIT_LOGIN_ACTION);
        createTransitionForState(state, CasWebflowConstants.TRANSITION_ID_SUCCESS,
            CasWebflowConstants.STATE_ID_AFTER_INIT_LOGIN_FORM);
        val afterState = createActionState(flow,
            CasWebflowConstants.STATE_ID_AFTER_INIT_LOGIN_FORM, createSetAction("requestScope.initialized", "true"));
        createTransitionForState(afterState, CasWebflowConstants.TRANSITION_ID_SUCCESS,
            CasWebflowConstants.STATE_ID_VIEW_LOGIN_FORM);
    }
This is {@link DefaultLoginWebflowConfigurer}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/configurer/DefaultLoginWebflowConfigurer.java