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.
Petr Sakar said:
Can be similar like this ? http://stackoverflow.com/questions/8229600/spring-security-how-i-can-enable-method-security-annotations