Advisor driven by a
MethodDefinitionSource , used to exclude a
MethodSecurityInterceptor from
public (ie non-secure) methods. Because the AOP framework caches advice calculations, this is normally faster
than just letting the MethodSecurityInterceptor run and find out itself that it has no work to do.
This class also allows the use of Spring's DefaultAdvisorAutoProxyCreator , which makes
configuration easier than setup a ProxyFactoryBean for each object requiring security. Note that
autoproxying is not supported for BeanFactory implementations, as post-processing is automatic only for application
contexts.
Based on Spring's TransactionAttributeSourceAdvisor.
author: Ben Alex version: $Id: MethodDefinitionSourceAdvisor.java 1784 2007-02-24 21:00:24Z luke_t $ |