アノテーション型 EnableWebMvcSecurity


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    @Import(WebMvcSecurityConfiguration.class)
    @EnableGlobalAuthentication
    @Configuration
    @Deprecated
    public @interface EnableWebMvcSecurity
    使用すべきではありません。
    代わりに EnableWebSecurity を使用すると、Spring MVC 関連のセキュリティアイテムが自動的に追加されます。
    このアノテーションを @Configuration クラスに追加して、Spring Security 構成を Spring MVC と統合します。
    導入:
    3.2