@Bean
        @ConditionalOnMissingBean(name = "ticketGrantingTicketResourceEntityResponseFactory")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public TicketGrantingTicketResourceEntityResponseFactory ticketGrantingTicketResourceEntityResponseFactory() {
            return new DefaultTicketGrantingTicketResourceEntityResponseFactory();
        }
This is {@link CasRestAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-rest/src/main/java/org/apereo/cas/config/CasRestAutoConfiguration.java