@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_GUA_DISPLAY_USER_GRAPHICS_BEFORE_AUTHENTICATION)
    public Action displayUserGraphicsBeforeAuthenticationAction(
        final ConfigurableApplicationContext applicationContext,
        final CasConfigurationProperties casProperties,
        @Qualifier("userGraphicalAuthenticationRepository")
        final UserGraphicalAuthenticationRepository userGraphicalAuthenticationRepository) {
        return WebflowActionBeanSupplier.builder()
            .withApplicationContext(applicationContext)
            .withProperties(casProperties)
            .withAction(() -> new DisplayUserGraphicsBeforeAuthenticationAction(userGraphicalAuthenticationRepository))
            .withId(CasWebflowConstants.ACTION_ID_GUA_DISPLAY_USER_GRAPHICS_BEFORE_AUTHENTICATION)
            .build()
            .get();
    }
This is {@link CasGraphicalUserAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-gua/src/main/java/org/apereo/cas/config/CasGraphicalUserAuthenticationAutoConfiguration.java