-
1. Re: Portal behaviour using authentication filters for login, logout or session timeout.
mposolda Aug 31, 2012 2:01 AM (in response to regis.mazur)Hi Regis,
yes they are. It depends on your usecase and what exactly you want to achieve. For redirection to specific URL after login, you can look at https://community.jboss.org/wiki/RedirectAUserToPageOnLoginlogoutBasedOnRole
Marek
-
2. Re: Portal behaviour using authentication filters for login, logout or session timeout.
regis.mazur Aug 31, 2012 2:58 PM (in response to mposolda)1 of 1 people found this helpfulThank you Marek, this is definitely helpful.
The use case is in case of session timeout or implicit logout, the user will be redirected to a specific URL.
Regis
-
3. Re: Portal behaviour using authentication filters for login, logout or session timeout.
regis.mazur Sep 19, 2012 3:18 PM (in response to mposolda)Hi Marek,
Still using sessionId as the key with value=userId (HTTP session is invalidated during logout and all attributes are cleaned but session ID is still the same) and storing it in the helper registry, we have modifed the LoginRedirectFilter to only detect session timeout followed to an immediate redirect to specific static page and it works fine.
Many thanks for your help.
Regards.
Regis