@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "regexInterruptInquiryExecutionPlanConfigurer")
        public InterruptInquiryExecutionPlanConfigurer regexInterruptInquiryExecutionPlanConfigurer(
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties) {
            return BeanSupplier.of(InterruptInquiryExecutionPlanConfigurer.class)
                .when(BeanCondition.on("cas.interrupt.regex.attribute-name")
                    .and("cas.interrupt.regex.attribute-value")
                    .given(applicationContext.getEnvironment()))
                .supply(() -> plan -> {
                    val regex = casProperties.getInterrupt().getRegex();
                    plan.registerInterruptInquirer(new RegexAttributeInterruptInquirer(regex.getAttributeName(), regex.getAttributeValue()));
                })
                .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