Package org.apereo.cas.config
Class CasWebAppConfiguration
- java.lang.Object
-
- org.apereo.cas.config.CasWebAppConfiguration
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration(value="casWebAppConfiguration", proxyBeanMethods=false) @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) public class CasWebAppConfiguration extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurerThis isCasWebAppConfiguration.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description CasWebAppConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)org.springframework.web.servlet.handler.SimpleUrlHandlerMappinghandlerMapping(org.springframework.web.servlet.mvc.Controller rootController)org.springframework.web.servlet.LocaleResolverlocaleResolver()protected org.springframework.web.servlet.mvc.UrlFilenameViewControllerpassThroughController()org.springframework.web.servlet.mvc.ControllerrootController()org.springframework.web.servlet.theme.ThemeChangeInterceptorthemeChangeInterceptor()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
themeChangeInterceptor
@RefreshScope @Bean public org.springframework.web.servlet.theme.ThemeChangeInterceptor themeChangeInterceptor()
-
localeResolver
@ConditionalOnMissingBean(name="casLocaleResolver") @Bean @RefreshScope public org.springframework.web.servlet.LocaleResolver localeResolver()
-
handlerMapping
@Bean @Autowired public org.springframework.web.servlet.handler.SimpleUrlHandlerMapping handlerMapping(@Qualifier("rootController") org.springframework.web.servlet.mvc.Controller rootController)
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Specified by:
addInterceptorsin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
rootController
@Bean @ConditionalOnMissingBean(name="rootController") public org.springframework.web.servlet.mvc.Controller rootController()
-
passThroughController
@Bean protected org.springframework.web.servlet.mvc.UrlFilenameViewController passThroughController()
-
-