@Override
    protected void doInitialize() {
        val flow = getLoginFlow();
        if (flow != null) {
            createInitialRecaptchaEnabledAction(flow);
            createValidateRecaptchaAction(flow);
        }
    }
This is {@link CasCaptchaWebflowConfigurer}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-captcha-core/src/main/java/org/apereo/cas/web/flow/CasCaptchaWebflowConfigurer.java