We have an application that uses the following (pseudo code) pointcut:

Code:
<aop:config>
   <aop:aspect id="myAspect" ref="myFilter">
   <aop:pointcut id="myPointcut" expression="..."/>
   <aop:around method="filter" pointcut-ref="myPointcut" />
   </aop:aspect>
</aop:config>
    
<aop:aspectj-autoproxy />
We then added OAuth with the following:

Code:
<security:authentication-provider user-service-ref="myDetailsService" />
<oauth:provider consumer-details-service-ref="myDetailsService" token-services-ref="myToken" />
<oauth:token-services id="myToken" />
After adding the OAuth configuration the pointcut no longer works. If I remove the <oauth: provider ... /> tag it works again.

Any ideas? AOP is a pain to debug!