Class CasThemesConfiguration
- java.lang.Object
-
- org.apereo.cas.services.web.config.CasThemesConfiguration
-
@EnableConfigurationProperties({org.apereo.cas.configuration.CasConfigurationProperties.class,org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties.class,org.springframework.boot.autoconfigure.web.WebProperties.class}) @AutoConfigureOrder(2147483647) @ConditionalOnFeatureEnabled(feature=Thymeleaf) @AutoConfiguration public class CasThemesConfiguration extends java.lang.ObjectThis isCasThemesConfiguration.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description CasThemesConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.servlet.ThemeResolverthemeResolver(org.springframework.beans.factory.ObjectProvider<org.springframework.ui.context.ThemeSource> themeSource, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.configuration.CasConfigurationProperties> casProperties, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.authentication.AuthenticationServiceSelectionPlan> authenticationRequestServiceSelectionStrategies, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.services.ServicesManager> servicesManager)org.springframework.ui.context.ThemeSourcethemeSource(org.apereo.cas.configuration.CasConfigurationProperties casProperties)org.springframework.web.servlet.config.annotation.WebMvcConfigurerthemesStaticResourcesWebMvcConfigurer(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.boot.autoconfigure.web.WebProperties webProperties, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties)
-
-
-
Method Detail
-
themeSource
@ConditionalOnMissingBean(name="casThemeSource") @Bean @RefreshScope(proxyMode=DEFAULT) public org.springframework.ui.context.ThemeSource themeSource(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
themeResolver
@ConditionalOnMissingBean(name="casThemeResolver") @Bean @RefreshScope(proxyMode=DEFAULT) public org.springframework.web.servlet.ThemeResolver themeResolver(@Qualifier("themeSource") org.springframework.beans.factory.ObjectProvider<org.springframework.ui.context.ThemeSource> themeSource, org.springframework.beans.factory.ObjectProvider<org.apereo.cas.configuration.CasConfigurationProperties> casProperties, @Qualifier("authenticationServiceSelectionPlan") org.springframework.beans.factory.ObjectProvider<org.apereo.cas.authentication.AuthenticationServiceSelectionPlan> authenticationRequestServiceSelectionStrategies, @Qualifier("servicesManager") org.springframework.beans.factory.ObjectProvider<org.apereo.cas.services.ServicesManager> servicesManager)
-
themesStaticResourcesWebMvcConfigurer
@Bean @ConditionalOnMissingBean(name="themesStaticResourcesWebMvcConfigurer") public org.springframework.web.servlet.config.annotation.WebMvcConfigurer themesStaticResourcesWebMvcConfigurer(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.boot.autoconfigure.web.WebProperties webProperties, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties thymeleafProperties)
-
-