@ConditionalOnMissingBean(name = "groovyAuthenticationProcessorExecutionPlanConfigurer")
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingGraalVMNativeImage
        public AuthenticationEventExecutionPlanConfigurer groovyAuthenticationProcessorExecutionPlanConfigurer(
            final CasConfigurationProperties casProperties) {
            return plan -> {
                val engine = casProperties.getAuthn().getCore().getEngine();
                val preResource = engine.getGroovyPreProcessor().getLocation();
                if (preResource != null && CasRuntimeHintsRegistrar.notInNativeImage()) {
                    plan.registerAuthenticationPreProcessor(new GroovyAuthenticationPreProcessor(preResource));
                }
                val postResource = engine.getGroovyPostProcessor().getLocation();
                if (postResource != null && CasRuntimeHintsRegistrar.notInNativeImage()) {
                    plan.registerAuthenticationPostProcessor(new GroovyAuthenticationPostProcessor(postResource));
                }
            };
        }
This is {@link CasCoreAuthenticationSupportConfiguration}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-authentication/src/main/java/org/apereo/cas/config/CasCoreAuthenticationSupportConfiguration.java