@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public TicketRegistry ticketRegistry(final CasConfigurationProperties casProperties,
                                         @Qualifier(TicketCatalog.BEAN_NAME)
                                         final TicketCatalog ticketCatalog,
                                         @Qualifier(TicketSerializationManager.BEAN_NAME)
                                         final TicketSerializationManager ticketSerializationManager,
                                         final ConfigurableApplicationContext applicationContext,
                                         @Qualifier("memcachedTicketRegistryTranscoder")
                                         final Transcoder memcachedTicketRegistryTranscoder) {
        val memcached = casProperties.getTicket()
            .getRegistry()
            .getMemcached();
        val factory = new MemcachedPooledClientConnectionFactory(memcached, memcachedTicketRegistryTranscoder);
        val cipherExecutor = CoreTicketUtils.newTicketRegistryCipherExecutor(memcached.getCrypto(), "memcached");
        return new MemcachedTicketRegistry(cipherExecutor, ticketSerializationManager, ticketCatalog, applicationContext, factory.getObjectPool());
    }
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