Tidying.
This commit is contained in:
parent
dac911ac08
commit
518ccada8c
|
@ -30,12 +30,15 @@ import org.springframework.security.intercept.method.MethodDefinitionSource;
|
|||
/**
|
||||
* Advisor driven by a {@link MethodDefinitionSource}, used to exclude a {@link MethodSecurityInterceptor} from
|
||||
* public (ie non-secure) methods.<p>Because the AOP framework caches advice calculations, this is normally faster
|
||||
* than just letting the <code>MethodSecurityInterceptor</code> run and find out itself that it has no work to do.</p>
|
||||
* <p>This class also allows the use of Spring's <code>DefaultAdvisorAutoProxyCreator</code>, which makes
|
||||
* than just letting the <code>MethodSecurityInterceptor</code> run and find out itself that it has no work to do.
|
||||
* <p>
|
||||
* This class also allows the use of Spring's
|
||||
* {@link org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator}, which makes
|
||||
* configuration easier than setup a <code>ProxyFactoryBean</code> for each object requiring security. Note that
|
||||
* autoproxying is not supported for BeanFactory implementations, as post-processing is automatic only for application
|
||||
* contexts.</p>
|
||||
* <p>Based on Spring's TransactionAttributeSourceAdvisor.</p>
|
||||
* contexts.
|
||||
* <p>
|
||||
* Based on Spring's TransactionAttributeSourceAdvisor.
|
||||
*
|
||||
* @author Ben Alex
|
||||
* @version $Id$
|
||||
|
@ -83,8 +86,9 @@ public class MethodDefinitionSourceAdvisor extends AbstractPointcutAdvisor {
|
|||
|
||||
/**
|
||||
* Represents a <code>MethodInvocation</code>.
|
||||
* <p>Required as <code>MethodDefinitionSource</code> only supports lookup of configuration attributes for
|
||||
* <code>MethodInvocation</code>s.</p>
|
||||
* <p>
|
||||
* Required as <code>MethodDefinitionSource</code> only supports lookup of configuration attributes for
|
||||
* <code>MethodInvocation</code>s.
|
||||
*/
|
||||
class InternalMethodInvocation implements MethodInvocation {
|
||||
private Method method;
|
||||
|
|
Loading…
Reference in New Issue