Class CasThymeleafConfiguration.ThymeleafViewResolverConfiguration

  • Enclosing class:
    CasThymeleafConfiguration

    @Configuration(value="ThymeleafViewResolverConfiguration",
                   proxyBeanMethods=false)
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    public static class CasThymeleafConfiguration.ThymeleafViewResolverConfiguration
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.validation.CasProtocolViewFactory casProtocolViewFactory​(org.thymeleaf.spring5.SpringTemplateEngine springTemplateEngine, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties)  
      org.springframework.web.servlet.ViewResolver registeredServiceViewResolver​(org.springframework.web.servlet.ThemeResolver themeResolver, ThemeViewResolverFactory themeViewResolverFactory)  
      org.thymeleaf.spring5.SpringTemplateEngine templateEngine​(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties, org.springframework.beans.factory.ObjectProvider<org.thymeleaf.templateresolver.ITemplateResolver> templateResolvers, org.springframework.beans.factory.ObjectProvider<org.thymeleaf.dialect.IDialect> dialects)  
      ThemeViewResolverFactory themeViewResolverFactory​(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.context.ConfigurableApplicationContext applicationContext, org.thymeleaf.spring5.view.ThymeleafViewResolver thymeleafViewResolver, java.util.List<CasThymeleafViewResolverConfigurer> thymeleafViewResolverConfigurers)  
      org.thymeleaf.spring5.view.ThymeleafViewResolver thymeleafViewResolver​(org.thymeleaf.spring5.SpringTemplateEngine springTemplateEngine, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties, org.springframework.context.ConfigurableApplicationContext applicationContext, java.util.List<CasThymeleafViewResolverConfigurer> thymeleafViewResolverConfigurers)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ThymeleafViewResolverConfiguration

        public ThymeleafViewResolverConfiguration()
    • Method Detail

      • casProtocolViewFactory

        @ConditionalOnMissingBean(name="casProtocolViewFactory")
        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.validation.CasProtocolViewFactory casProtocolViewFactory​(org.thymeleaf.spring5.SpringTemplateEngine springTemplateEngine,
                                                                                       org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties)
      • templateEngine

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.thymeleaf.spring5.SpringTemplateEngine templateEngine​(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties,
                                                                         org.springframework.beans.factory.ObjectProvider<org.thymeleaf.templateresolver.ITemplateResolver> templateResolvers,
                                                                         org.springframework.beans.factory.ObjectProvider<org.thymeleaf.dialect.IDialect> dialects)
      • registeredServiceViewResolver

        @ConditionalOnMissingBean(name="registeredServiceViewResolver")
        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.springframework.web.servlet.ViewResolver registeredServiceViewResolver​(@Qualifier("themeResolver")
                                                                                          org.springframework.web.servlet.ThemeResolver themeResolver,
                                                                                          @Qualifier("themeViewResolverFactory")
                                                                                          ThemeViewResolverFactory themeViewResolverFactory)
      • themeViewResolverFactory

        @ConditionalOnMissingBean(name="themeViewResolverFactory")
        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public ThemeViewResolverFactory themeViewResolverFactory​(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties,
                                                                 org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                                 org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                 @Qualifier("thymeleafViewResolver")
                                                                 org.thymeleaf.spring5.view.ThymeleafViewResolver thymeleafViewResolver,
                                                                 java.util.List<CasThymeleafViewResolverConfigurer> thymeleafViewResolverConfigurers)
      • thymeleafViewResolver

        @Bean
        public org.thymeleaf.spring5.view.ThymeleafViewResolver thymeleafViewResolver​(org.thymeleaf.spring5.SpringTemplateEngine springTemplateEngine,
                                                                                      org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties,
                                                                                      org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                                      java.util.List<CasThymeleafViewResolverConfigurer> thymeleafViewResolverConfigurers)