@Override
    public View create(final ConfigurableApplicationContext applicationContext,
                       final String viewName, final String contentType) {
        return FunctionUtils.doUnchecked(() -> {
            mustacheViewResolver.setViewClass(CasMustacheView.class);
            return mustacheViewResolver.resolveViewName(viewName, Locale.ENGLISH);
        });
    }
This is {@link CasProtocolMustacheViewFactory}.

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