@Bean
        public WebMvcConfigurer casWebAppWebMvcConfigurer(
            @Qualifier("localeChangeInterceptor") final ObjectProvider<HandlerInterceptor> localeChangeInterceptor) {
            return new WebMvcConfigurer() {
                @Override
                public void addInterceptors(
                    @Nonnull final InterceptorRegistry registry) {
                    registry.addInterceptor(new RefreshableHandlerInterceptor(localeChangeInterceptor)).addPathPatterns("/**");
                }
            };
        }
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