Polish InterceptMethodsBeanDefinitionDecorator

Issue gh-11328
This commit is contained in:
Josh Cummings
2022-07-12 14:22:58 -06:00
parent a3326fc0ee
commit 9b43316f4d
5 changed files with 177 additions and 140 deletions

View File

@@ -177,7 +177,12 @@ intercept-methods =
intercept-methods.attlist &=
## Optional AccessDecisionManager bean ID to be used by the created method security interceptor.
attribute access-decision-manager-ref {xsd:token}?
intercept-methods.attlist &=
## Use the AuthorizationManager API instead of AccessDecisionManager (defaults to false)
attribute use-authorization-manager {xsd:boolean}?
intercept-methods.attlist &=
## Use this AuthorizationManager instead of the default (supercedes use-authorization-manager)
attribute authorization-manager-ref {xsd:token}?
protect =
## Defines a protected method and the access control configuration attributes that apply to it. We strongly advise you NOT to mix "protect" declarations with any services provided "global-method-security".