MethodDefinitionSourceAdvisor.java | Class | 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. |