@Override
    protected void doInitialize() {
        val flow = getLoginFlow();
        if (flow != null) {
            val actionState = createActionState(flow, STATE_ID_BASIC_AUTHENTICATION_CHECK, CasWebflowConstants.ACTION_ID_BASIC_AUTHENTICATION);
            val transitionSet = actionState.getTransitionSet();
            transitionSet.add(
                createTransition(CasWebflowConstants.TRANSITION_ID_SUCCESS, CasWebflowConstants.STATE_ID_CREATE_TICKET_GRANTING_TICKET));
            transitionSet.add(createTransition(CasWebflowConstants.TRANSITION_ID_WARN, CasWebflowConstants.TRANSITION_ID_WARN));
            transitionSet.add(createTransition(CasWebflowConstants.TRANSITION_ID_ERROR, getStartState(flow).getId()));
            transitionSet.add(
                createTransition(CasWebflowConstants.TRANSITION_ID_SUCCESS_WITH_WARNINGS, CasWebflowConstants.STATE_ID_SHOW_AUTHN_WARNING_MSGS));
            actionState.getExitActionList().add(createEvaluateAction(CasWebflowConstants.ACTION_ID_CLEAR_WEBFLOW_CREDENTIALS));
            setStartState(flow, actionState);
        }
    }
This is {@link BasicAuthenticationWebflowConfigurer}.

@author Misagh Moayyed
@since 4.2.0
support/cas-server-support-basic/src/main/java/org/apereo/cas/web/flow/BasicAuthenticationWebflowConfigurer.java