private Collection<String> getCandidateStatesForMultifactorAuthentication() {
        val candidates = new LinkedHashSet<String>();
        candidates.add(CasWebflowConstants.STATE_ID_REAL_SUBMIT);
        multifactorAuthenticationFlowCustomizers.forEach(customizer ->
            candidates.addAll(customizer.getCandidateStatesForMultifactorAuthentication()));
        return candidates;
    }
The flow definition registry for the mfa flow.
core/cas-server-core-webflow-mfa-api/src/main/java/org/apereo/cas/web/flow/configurer/AbstractCasMultifactorWebflowConfigurer.java