@Override
    protected void doInitialize() {
        val flow = getLoginFlow();

        if (flow != null) {
            createConsentRequiredCheckAction(flow);
            createConsentTransitions(flow);
            createConsentView(flow);
        }
    }
This is {@link ConsentWebflowConfigurer}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-consent-webflow/src/main/java/org/apereo/cas/web/flow/ConsentWebflowConfigurer.java