@Deprecated @Configuration(proxyBeanMethods=false) @EnableWebSecurity public class WebMvcSecurityConfiguration extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
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(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.
|
org.springframework.web.servlet.support.RequestDataValueProcessor |
requestDataValueProcessor()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public void addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Bean public org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor()