クラス WebMvcSecurityConfiguration

java.lang.ObjectSE
org.springframework.security.config.annotation.web.servlet.configuration.WebMvcSecurityConfiguration
実装されたすべてのインターフェース:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@DeprecatedSE @Configuration(proxyBeanMethods=false) @EnableWebSecurity public class WebMvcSecurityConfiguration extends ObjectSE implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
使用すべきではありません。
これは、SpringWebMvcImportSelector を使用して内部的に適用されます
Spring MVC および Spring Security CSRF 統合のために RequestDataValueProcessor を追加するために使用されます。EnableWebMvc をによって追加されるたびに、この構成が追加され SpringWebMvcImportSelector と DispatcherServlet クラスパス上に存在します。また、AuthenticationPrincipalArgumentResolver を HandlerMethodArgumentResolver として追加します。
導入:
3.2
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    使用すべきではありません。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    addArgumentResolvers(ListSE<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
    使用すべきではありません。
    org.springframework.web.servlet.support.RequestDataValueProcessor
    使用すべきではありません。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE

    インターフェース org.springframework.web.servlet.config.annotation.WebMvcConfigurer から継承されたメソッド

    addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • コンストラクターの詳細

    • WebMvcSecurityConfiguration

      public WebMvcSecurityConfiguration()
      使用すべきではありません。
  • メソッドの詳細

    • addArgumentResolvers

      public void addArgumentResolvers(ListSE<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
      使用すべきではありません。
      次で指定:
      インターフェース org.springframework.web.servlet.config.annotation.WebMvcConfigureraddArgumentResolvers 
    • requestDataValueProcessor

      @Bean public org.springframework.web.servlet.support.RequestDataValueProcessor requestDataValueProcessor()
      使用すべきではありません。