クラス WebMvcSecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.web.servlet.configuration.WebMvcSecurityConfiguration
- 実装されたすべてのインターフェース:
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
使用すべきではありません。これは、SpringWebMvcImportSelector を使用して内部的に適用されますSpring MVC および Spring Security CSRF 統合のためにRequestDataValueProcessor
を追加するために使用されます。EnableWebMvc
をによって追加されるたびに、この構成が追加され SpringWebMvcImportSelector と DispatcherServlet クラスパス上に存在します。また、AuthenticationPrincipalArgumentResolver
をHandlerMethodArgumentResolver
として追加します。- 導入:
- 3.2
コンストラクターのサマリー
コンストラクター コンストラクター 説明 WebMvcSecurityConfiguration()
使用すべきではありません。
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 非推奨のメソッド 修飾子と型 メソッド 説明 void
addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
使用すべきではありません。org.springframework.web.servlet.support.RequestDataValueProcessor
requestDataValueProcessor()
使用すべきではありません。クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
インターフェース org.springframework.web.servlet.config.annotation.WebMvcConfigurer から継承されたメソッド
addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
メソッドの詳細
addArgumentResolvers
public void addArgumentResolvers(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
使用すべきではありません。- 次で指定:
- インターフェース
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
のaddArgumentResolvers
requestDataValueProcessor
@Bean public org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor()
使用すべきではありません。