I'm trying to test a webflow controller with spring security on:
<action-state id="search">
<secured attributes="ROLE_ADMIN"/>
...
</action-state>
I'm using AbstractXmlFlowExecutionTests
subclass.
Now, the test runs ok without the "secured" tag (I don't make any mocks for the security), but once I add the security tag, the test keeps finishing with success, although I anticipate a security exception to be thrown. Any ideas why it doesn't work and how should I configure it? Thanks in advance! Igor