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 Object
This is
CasThemesConfiguration.- Since:
- 5.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ThemeResolverthemeResolver(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)
-
Constructor Details
-
CasThemesConfiguration
public CasThemesConfiguration()
-
-
Method Details
-
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(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)
-