private String getStateIdOnSpnegoFailure(final Flow flow) {
        val state = getState(flow, CasWebflowConstants.STATE_ID_AFTER_INIT_LOGIN_FORM, ActionState.class);
        return state.getTransition(CasWebflowConstants.TRANSITION_ID_SUCCESS).getTargetStateId();
    }
The {@link SpnegoWebflowConfigurer} is responsible for
adjusting the CAS webflow context for spnego integration.

@author Misagh Moayyed
@since 4.2
support/cas-server-support-spnego-webflow/src/main/java/org/apereo/cas/web/flow/SpnegoWebflowConfigurer.java