Grails

Programmatically logging in user in jsecurity plugin

In our current project we are using jsecurity plugin and some of our bootstrap code required a user to be logged in. I found a nice blog http://www.tothenew.com/blog/?p=335 on this topic but it was using groovy metaprogramming to override the normal behaviour of SecurityUtils.getSubject() which is suitable for test environment. After...

by Bhagwat Kumar
Tag: jsecSecurityManager
04-Mar-2010