@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public UniqueTicketIdGenerator samlServiceTicketUniqueIdGenerator(final CasConfigurationProperties casProperties) {
        val gen = new SamlCompliantUniqueTicketIdGenerator(casProperties.getServer().getName());
        gen.setSaml2compliant(casProperties.getSamlCore().isTicketidSaml2());
        return gen;
    }
This is {@link SamlUniqueTicketIdGeneratorConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-saml/src/main/java/org/apereo/cas/config/SamlUniqueTicketIdGeneratorConfiguration.java