protected void buildAndRegisterSamlArtifactDefinition(final TicketCatalog plan,
                                                          final TicketDefinition metadata,
                                                          final CasConfigurationProperties casProperties) {
        metadata.getProperties().setStorageName(casProperties.getAuthn().getSamlIdp().getTicket().getSamlArtifactsCacheStorageName());
        val timeToKillInSeconds = Beans.newDuration(casProperties.getTicket().getSt().getTimeToKillInSeconds()).toSeconds();
        metadata.getProperties().setStorageTimeout(timeToKillInSeconds);
        registerTicketDefinition(plan, metadata);
    }
This is {@link SamlIdPTicketCatalogConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-saml-idp/src/main/java/org/apereo/cas/config/SamlIdPTicketCatalogConfiguration.java