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
Since:
5.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.servlet.ThemeResolver
    themeResolver(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.ThemeSource
    themeSource(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)