I have project with secured bussiness method via @Secured.
In applicationContext_product I have
<ref bean="methodSecurityInterceptor" />
All works fine.
Now, I have unit tests with Unitils which has another applicationContext_unitils with some changes against
product context (for example datasource).
I want to run tests without security - so I want to "deactivate" MethodDefinitionSourceAdvisor in applicationContext_unitils.
How can I simple do this?
(without re-define methodSecurityInterceptor and objectDefinitionSource)
Thanks for any hint.