@Override
    public void configureTicketCatalog(final TicketCatalog plan,
                                       final CasConfigurationProperties casProperties) {
        LOGGER.debug("Registering core WS security token ticket definitions...");
        val definition = buildTicketDefinition(plan, SecurityTokenTicket.PREFIX,
            SecurityTokenTicket.class, DefaultSecurityTokenTicket.class, Ordered.HIGHEST_PRECEDENCE);
        val properties = definition.getProperties();
        properties.setStorageName("wsSecurityTokenTicketsCache");
        val seconds = Beans.newDuration(casProperties.getTicket().getTgt().getPrimary().getMaxTimeToLiveInSeconds()).toSeconds();
        properties.setStorageTimeout(seconds);
        registerTicketDefinition(plan, definition);
    }
This is {@link CasWsSecurityTokenTicketCatalogConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-ws-sts/src/main/java/org/apereo/cas/config/CasWsSecurityTokenTicketCatalogConfiguration.java