Class 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.Object
    Since:
    5.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.web.servlet.ThemeResolver themeResolver​(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.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 Detail

      • CasThemesConfiguration

        public CasThemesConfiguration()
    • 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)