@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_CONSENT_ACCOUNT_PROFILE_PREPARE)
        public Action consentAccountProfilePrepareAction(
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties,
            @Qualifier(ConsentEngine.BEAN_NAME)
            final ConsentEngine consentEngine) {
            return WebflowActionBeanSupplier.builder()
                .withApplicationContext(applicationContext)
                .withProperties(casProperties)
                .withAction(() -> new ConsentAccountProfilePrepareAction(consentEngine))
                .withId(CasWebflowConstants.ACTION_ID_CONSENT_ACCOUNT_PROFILE_PREPARE)
                .build()
                .get();

        }
This is {@link CasConsentWebflowAutoConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-consent-webflow/src/main/java/org/apereo/cas/config/CasConsentWebflowAutoConfiguration.java