@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "groovyInterruptInquiryExecutionPlanConfigurer")
        @ConditionalOnMissingGraalVMNativeImage
        public InterruptInquiryExecutionPlanConfigurer groovyInterruptInquiryExecutionPlanConfigurer(
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties) {
            return BeanSupplier.of(InterruptInquiryExecutionPlanConfigurer.class)
                .when(BeanCondition.on("cas.interrupt.groovy.location").exists().given(applicationContext.getEnvironment()))
                .supply(() -> plan -> plan.registerInterruptInquirer(new GroovyScriptInterruptInquirer(casProperties.getInterrupt().getGroovy().getLocation())))
                .otherwiseProxy()
                .get();
        }
This is {@link CasInterruptAutoConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-interrupt-core/src/main/java/org/apereo/cas/config/CasInterruptAutoConfiguration.java