Login user for Integration test when using Jsecurity plugin

Hello Friends, I was using Jsecurity plugin in my project. There was an action in a controller which needed logged in user information and I was finding it difficult to write an integration test for the same. Then Brent Fisher shared the following code which worked nicely for both services and controllers: import...

by Amit Jain
Tag: logged in user