You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@EnableMethodSecurity, and more specifically MethodSecurityAdvisorRegistrar registers each Spring Security method interceptor separately as an advisor. Currently, though, it duplicates the bean definition of each one, causing two instances of each AuthorizationAdvisor in the application context.
This causes some unexpected behavior for beans that would like to depend on the list of AuthorizationAdvisor instances, for example in the case of AuthorizationProxyConfiguration.
The text was updated successfully, but these errors were encountered:
@EnableMethodSecurity
, and more specificallyMethodSecurityAdvisorRegistrar
registers each Spring Security method interceptor separately as an advisor. Currently, though, it duplicates the bean definition of each one, causing two instances of eachAuthorizationAdvisor
in the application context.This causes some unexpected behavior for beans that would like to depend on the list of
AuthorizationAdvisor
instances, for example in the case ofAuthorizationProxyConfiguration
.The text was updated successfully, but these errors were encountered: