@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public ThemeChangeInterceptor themeChangeInterceptor(final CasConfigurationProperties casProperties) {
        val bean = new ThemeChangeInterceptor();
        bean.setParamName(casProperties.getTheme().getParamName());
        return bean;
    }
This is {@link CasWebAppConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-webconfig/src/main/java/org/apereo/cas/config/CasWebAppConfiguration.java