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-1284: Support 'proxy-target-class' attribute for global-method-security element of security namespace #1533

spring-issuemaster opened this Issue Nov 2, 2009 · 9 comments


None yet
1 participant

Chris Beams (Migrated from SEC-1284) said:

Expected: <sec:global-method-security/> should expose a proxy-target-class attribute, following suit with <tx:annotation-driven/>, <aop:config/>, etc.

Actual: It does not expose this attribute, and so users are forced to work around the namespace and drop down to low-level bean defs if they need to influence the proxy creation strategy.

Luke Taylor said:

The only requirement here is that the namespace schema supports the attribute. AopNamespaceUtils.registerAutoProxyCreatorIfNecessary(), which is called by GlobalMethodSecurityBDP, will check for the attribute on the source element and do the necessary work. So no Java code-level changes are necessary.

@spring-issuemaster spring-issuemaster added this to the 3.0.0.RC2 milestone Feb 5, 2016

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