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