@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = CasCookieBuilder.BEAN_NAME_WARN_COOKIE_BUILDER)
        public CasCookieBuilder warnCookieGenerator(
            @Qualifier(TenantExtractor.BEAN_NAME)
            final TenantExtractor tenantExtractor,
            final CasConfigurationProperties casProperties) {
            val props = casProperties.getWarningCookie();
            return new CookieRetrievingCookieGenerator(
                CookieUtils.buildCookieGenerationContext(props),
                new NoOpCookieValueManager(tenantExtractor));
        }
This is {@link CasCoreCookieAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-cookie/src/main/java/org/apereo/cas/config/CasCoreCookieAutoConfiguration.java