Add Missing Doc Header

The EnableMethodSecurity section
This commit is contained in:
Josh Cummings 2022-10-24 17:39:45 -06:00
parent e505bc3af4
commit 04fa5af794
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
1 changed files with 1 additions and 0 deletions

View File

@ -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.