Hi,
I have project with secured bussiness method via @Secured.
In applicationContext_product I have
etc.Code:<bean class="org.acegisecurity.intercept.method.aopalliance.MethodDefinitionSourceAdvisor"> <constructor-arg > <ref bean="methodSecurityInterceptor" /> </constructor-arg> </bean>
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.


