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 aRequestDataValueProcessorfor Spring MVC and Spring Security CSRF integration. This configuration is added wheneverEnableWebMvcis added by SpringWebMvcImportSelector and the DispatcherServlet is present on the classpath. It also adds theAuthenticationPrincipalArgumentResolveras 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 voidaddArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)Deprecated.org.springframework.web.servlet.support.RequestDataValueProcessorrequestDataValueProcessor()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:
addArgumentResolversin interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
requestDataValueProcessor
@Bean public org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor()
Deprecated.
-
-