Class WebMvcSecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.web.servlet.configuration.WebMvcSecurityConfiguration
-
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Deprecated @Configuration(proxyBeanMethods=false) @EnableWebSecurity public class WebMvcSecurityConfiguration extends java.lang.Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Deprecated.This is applied internally using SpringWebMvcImportSelectorUsed to add aRequestDataValueProcessor
for Spring MVC and Spring Security CSRF integration. This configuration is added wheneverEnableWebMvc
is added by SpringWebMvcImportSelector and the DispatcherServlet is present on the classpath. It also adds theAuthenticationPrincipalArgumentResolver
as aHandlerMethodArgumentResolver
.- Since:
- 3.2
-
-
Constructor Summary
Constructors Constructor Description WebMvcSecurityConfiguration()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.org.springframework.web.servlet.support.RequestDataValueProcessor
requestDataValueProcessor()
Deprecated.-
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
addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
-
-
-
Method Detail
-
addArgumentResolvers
public void addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
Deprecated.- Specified by:
addArgumentResolvers
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
requestDataValueProcessor
@Bean public org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor()
Deprecated.
-
-