@Override
    public View create(final ConfigurableApplicationContext applicationContext,
                       final String viewName, final String contentType) {
        LOGGER.trace("Creating CAS protocol view [{}] with content type of [{}]", viewName, contentType);
        return new CasThymeleafView(viewName, applicationContext,
            springTemplateEngine, thymeleafProperties, contentType);
    }
This is {@link CasProtocolThymeleafViewFactory}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-thymeleaf-core/src/main/java/org/apereo/cas/web/view/CasProtocolThymeleafViewFactory.java