We have several shopping cart pages that work with both guest and user paths. We want to allow the user to log in at any time during the process, but do not want to create another login page. I would prefer that we can simply redirect the user to an existing login and tell Spring about the security to which URL will return.
I know this happens automatically when the session timeout and / or protected pages are requested without a session, but is there a way I can provide the Spring Security URL myself?
Gregg source share