1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Merge remote-tracking branch 'origin/5.8.x'

This commit is contained in:
Josh Cummings
2022-10-25 14:42:32 -06:00
3 changed files with 185 additions and 0 deletions
@@ -7,6 +7,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, by using the `intercept-methods` element to decorate the bean declaration, or you can secure multiple beans across the entire service layer by using 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.