@ConditionalOnMissingBean(name = "memcachedPooledClientConnectionFactory")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public MemcachedPooledClientConnectionFactory memcachedPooledClientConnectionFactory(
        final CasConfigurationProperties casProperties,
        @Qualifier("memcachedTicketRegistryTranscoder")
        final Transcoder memcachedTicketRegistryTranscoder) {
        val memcached = casProperties.getTicket()
            .getRegistry()
            .getMemcached();
        return new MemcachedPooledClientConnectionFactory(memcached, memcachedTicketRegistryTranscoder);
    }
This is {@link CasMemcachedTicketRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
@deprecated Since 7.0.0
support/cas-server-support-memcached-ticket-registry/src/main/java/org/apereo/cas/config/CasMemcachedTicketRegistryAutoConfiguration.java