@Configuration @EnableWebSecurity public class WebMvcSecurityConfiguration extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
RequestDataValueProcessor for Spring MVC and Spring
Security CSRF integration. This configuration is added whenever
EnableWebMvc is added by SpringWebMvcImportSelector and the
DispatcherServlet is present on the classpath. It also adds the
AuthenticationPrincipalArgumentResolver as a
HandlerMethodArgumentResolver.| Constructor and Description |
|---|
WebMvcSecurityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
org.springframework.web.servlet.support.RequestDataValueProcessor |
requestDataValueProcessor() |
addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, getMessageCodesResolver, getValidatorpublic void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddArgumentResolvers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor()
Copyright © 2016. All rights reserved.