Jun 11th, 2012, 01:10 PM
Manually Create SavedRequest
I have a unsecured page that has a login link on it. If the user clicks login from this page, I want them to be redirected back to this page after a successful login. I've been looking for ways to create a SavedRequest (DefaultSavedRequest) to store in the session but all the methods are protected.
Basically, how can I manually tell Spring Security which URL to redirect to after a successful login?
If it matters, I'm actually using the Spring-Security-Core plugin with Grails 1.3.7.
Tags for this Thread