@ConditionalOnMissingBean(name = "securityTokenTicketFactory")
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public SecurityTokenTicketFactory securityTokenTicketFactory(
            @Qualifier("securityTokenTicketIdGenerator")
            final UniqueTicketIdGenerator securityTokenTicketIdGenerator,
            @Qualifier(ExpirationPolicyBuilder.BEAN_NAME_TICKET_GRANTING_TICKET_EXPIRATION_POLICY)
            final ExpirationPolicyBuilder grantingTicketExpirationPolicy) {
            return new DefaultSecurityTokenTicketFactory(securityTokenTicketIdGenerator, grantingTicketExpirationPolicy);
        }
This is {@link CoreWsSecuritySecurityTokenTicketConfiguration}.

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