login automatically with Grails & Acegi
问题 I'm using the Acegi plugin in my Grails app. After a user registers, he is redirected to an action that is protected. Therefore, he is shown the login form. However, I would prefer if the user was automatically logged in as soon as he completes registration. It seems like I could achieve this by redirecting to the action that the login form uses redirect(uri:"/j_acegi_security_check?j_username=${username}&j_password=${passed}") But this would send a HTTP request to the client (and back to the