From 04fa5af7946dd3b9b3821ea7a68e964122d09396 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Mon, 24 Oct 2022 17:39:45 -0600 Subject: [PATCH] Add Missing Doc Header The EnableMethodSecurity section --- .../ROOT/pages/servlet/authorization/method-security.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc index 94b321fd7e..13a7a3c2ef 100644 --- a/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc +++ b/docs/modules/ROOT/pages/servlet/authorization/method-security.adoc @@ -6,6 +6,7 @@ It provides support for JSR-250 annotation security as well as the framework's o From 3.0 you can also make use of new xref:servlet/authorization/expression-based.adoc#el-access[expression-based annotations]. You can apply security to a single bean, using the `intercept-methods` element to decorate the bean declaration, or you can secure multiple beans across the entire service layer using the AspectJ style pointcuts. +[[jc-enable-method-security]] == EnableMethodSecurity In Spring Security 5.6, we can enable annotation-based security using the `@EnableMethodSecurity` annotation on any `@Configuration` instance.