@EnableWebSecurity public class WebMvcSecurityConfiguration extends 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()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.
|
RequestDataValueProcessor |
requestDataValueProcessor()
Deprecated.
|
addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in interface WebMvcConfigureraddArgumentResolvers in class WebMvcConfigurerAdapter@Bean public RequestDataValueProcessor requestDataValueProcessor()