@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public TicketCatalogConfigurer casSimpleMultifactorAuthenticationTicketCatalogConfigurer(
        @Qualifier("casSimpleMultifactorAuthenticationTicketExpirationPolicy")
        final ExpirationPolicyBuilder casSimpleMultifactorAuthenticationTicketExpirationPolicy) {
        return new BaseTicketCatalogConfigurer() {
            @Override
            public void configureTicketCatalog(final TicketCatalog plan, final CasConfigurationProperties casProperties) {
                LOGGER.trace("Registering ticket definitions...");
                val definition = buildTicketDefinition(plan, CasSimpleMultifactorAuthenticationTicket.PREFIX,
                    CasSimpleMultifactorAuthenticationTicket.class, CasSimpleMultifactorAuthenticationTicketImpl.class, Ordered.HIGHEST_PRECEDENCE);
                val properties = definition.getProperties();
                properties.setStorageName("casSimpleMultifactorAuthenticationTicketsCache");
                val timeToLive = casSimpleMultifactorAuthenticationTicketExpirationPolicy.buildTicketExpirationPolicy().getTimeToLive();
                properties.setStorageTimeout(timeToLive);
                registerTicketDefinition(plan, definition);
            }
        };
    }
This is {@link CasSimpleMultifactorAuthenticationTicketCatalogConfiguration}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-simple-mfa/src/main/java/org/apereo/cas/config/CasSimpleMultifactorAuthenticationTicketCatalogConfiguration.java