@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public UniqueTicketIdGenerator serviceTicketUniqueIdGenerator(final CasConfigurationProperties casProperties) {
        return new ServiceTicketIdGenerator(
            casProperties.getTicket().getSt().getMaxLength(),
            casProperties.getHost().getName());
    }
This is {@link CasDefaultServiceTicketIdGeneratorsConfiguration}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasDefaultServiceTicketIdGeneratorsConfiguration.java