クラス 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()
      使用すべきではありません。
    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド   非推奨のメソッド  
      修飾子と型 メソッド 説明
      voidaddArgumentResolvers​(java.util.List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers)
      使用すべきではありません。
      org.springframework.web.servlet.support.RequestDataValueProcessorrequestDataValueProcessor()
      使用すべきではありません。
      • クラス 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
    • コンストラクターの詳細

      • WebMvcSecurityConfiguration

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

      • addArgumentResolvers

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

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