Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1626: sec:global-method-security causes other aspects/interceptors not to be applied. #1867

spring-issuemaster opened this Issue Nov 18, 2010 · 2 comments


None yet
1 participant

David J. M. Karlsen (Migrated from SEC-1626) said:

If I have

<sec:global-method-security jsr250-annotations="enabled" pre-post-annotations="enabled" order="-2147482645" proxy-target-class="false">
<sec:expression-handler ref="methodSecurityExpressionHandler" />

It causes one of my http://code.google.com/p/ehcache-spring-annotations/ caching annotation aspects to never be weaved/intercepted.

I have several other aspects which do not interfer with this, so I'm pretty sure it must be spring security causing the problem.
If I remove it everything starts to work as expected.

The service in question does implement an interface, and I've tried with both proxy-target-class true and false.
I use auto-proxying for several of the other aspects, but even with all of them removed this still happens!

Luke Taylor said:

Please supply a test case which reproduces the problem.

@spring-issuemaster spring-issuemaster added this to the 3.1.0.M2 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment