Package org.apereo.cas.config
Class CasThymeleafConfiguration.ThymeleafViewResolverConfiguration
- java.lang.Object
-
- org.apereo.cas.config.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
-
-
Constructor Summary
Constructors Constructor Description ThymeleafViewResolverConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apereo.cas.validation.CasProtocolViewFactorycasProtocolViewFactory(org.thymeleaf.spring5.SpringTemplateEngine springTemplateEngine, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties)org.springframework.web.servlet.ViewResolverregisteredServiceViewResolver(org.springframework.web.servlet.ThemeResolver themeResolver, ThemeViewResolverFactory themeViewResolverFactory)org.thymeleaf.spring5.SpringTemplateEnginetemplateEngine(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)ThemeViewResolverFactorythemeViewResolverFactory(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.ThymeleafViewResolverthymeleafViewResolver(org.thymeleaf.spring5.SpringTemplateEngine springTemplateEngine, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties, org.springframework.context.ConfigurableApplicationContext applicationContext, java.util.List<CasThymeleafViewResolverConfigurer> thymeleafViewResolverConfigurers)
-
-
-
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)
-
-