@ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_X509_CHECK)
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public Action x509Check(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier(CasDelegatingWebflowEventResolver.BEAN_NAME_INITIAL_AUTHENTICATION_EVENT_RESOLVER)
        final CasDelegatingWebflowEventResolver initialAuthenticationAttemptWebflowEventResolver,
        @Qualifier("x509CertificateExtractor")
        final X509CertificateExtractor x509CertificateExtractor,
        @Qualifier(CasWebflowEventResolver.BEAN_NAME_SERVICE_TICKET_EVENT_RESOLVER)
        final CasWebflowEventResolver serviceTicketRequestWebflowEventResolver,
        @Qualifier(AdaptiveAuthenticationPolicy.BEAN_NAME)
        final AdaptiveAuthenticationPolicy adaptiveAuthenticationPolicy,
        final CasConfigurationProperties casProperties) {
        return WebflowActionBeanSupplier.builder()
            .withApplicationContext(applicationContext)
            .withProperties(casProperties)
            .withAction(() -> {
                val extractCertFromRequestHeader = casProperties.getAuthn().getX509().isExtractCert();
                if (extractCertFromRequestHeader) {
                    return new X509CertificateCredentialsRequestHeaderAction(
                        initialAuthenticationAttemptWebflowEventResolver,
                        serviceTicketRequestWebflowEventResolver,
                        adaptiveAuthenticationPolicy,
                        x509CertificateExtractor, casProperties);
                }
                return new X509CertificateCredentialsNonInteractiveAction(
                    initialAuthenticationAttemptWebflowEventResolver,
                    serviceTicketRequestWebflowEventResolver,
                    adaptiveAuthenticationPolicy, casProperties);
            })
            .withId(CasWebflowConstants.ACTION_ID_X509_CHECK)
            .build()
            .get();
    }
This is {@link CasX509AuthenticationWebflowAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-x509-webflow/src/main/java/org/apereo/cas/config/CasX509AuthenticationWebflowAutoConfiguration.java