We have an application that uses the following (pseudo code) pointcut:
We then added OAuth with the following: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 />
After adding the OAuth configuration the pointcut no longer works. If I remove the <oauth: provider ... /> tag it works again.Code:<security:authentication-provider user-service-ref="myDetailsService" /> <oauth:provider consumer-details-service-ref="myDetailsService" token-services-ref="myToken" /> <oauth:token-services id="myToken" />
Any ideas? AOP is a pain to debug!


Reply With Quote
