parent
e505bc3af4
commit
04fa5af794
|
@ -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].
|
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.
|
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
|
== EnableMethodSecurity
|
||||||
|
|
||||||
In Spring Security 5.6, we can enable annotation-based security using the `@EnableMethodSecurity` annotation on any `@Configuration` instance.
|
In Spring Security 5.6, we can enable annotation-based security using the `@EnableMethodSecurity` annotation on any `@Configuration` instance.
|
||||||
|
|
Loading…
Reference in New Issue