diff --git a/core/src/main/java/org/springframework/security/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java b/core/src/main/java/org/springframework/security/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java index 451f8f027a..6cadb60449 100644 --- a/core/src/main/java/org/springframework/security/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java +++ b/core/src/main/java/org/springframework/security/intercept/method/aopalliance/MethodDefinitionSourceAdvisor.java @@ -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.

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 + * 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 + * {@link org.springframework.aop.framework.autoproxy.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.

+ * contexts. + *

+ * Based on Spring's TransactionAttributeSourceAdvisor. * * @author Ben Alex * @version $Id$ @@ -83,8 +86,9 @@ public class MethodDefinitionSourceAdvisor extends AbstractPointcutAdvisor { /** * Represents a MethodInvocation. - *

Required as MethodDefinitionSource only supports lookup of configuration attributes for - * MethodInvocations.

+ *

+ * Required as MethodDefinitionSource only supports lookup of configuration attributes for + * MethodInvocations. */ class InternalMethodInvocation implements MethodInvocation { private Method method;