-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faces 3 + Soteria: redirect on viewexpired on ajax request #322
Comments
We had that in a prototype in Soteria along with an issue in Faces to be able to pop a dialog if needed for authentication. Unfortunately the person assigned to it vanished in thin air, so the issue was never finished. Would however still be good to look at again. |
The redirect logic is inside LoginToContinueInterceptor What I see is that inside Soteria/Utils there are 2 o 3 methods that implements a redirect and the So I think we should call the right method which is the one at line 186 of Utils of the master Probably I should fix it in my fork and wait for Jakarta ee 10 to see if in the meantime has been fixed |
That's "correct" in the sense that we started that work there, but because of the thin air event never finished it. Its leftover is in the code still. |
ok, it works, it's just a matter of call the other Utils.redirect method
and in Utils a little check to avoid NPE inside isFacesAjaxRequest
|
Actually Soteria do not manage this, which is the best place to implement the correct "ajax" redirect?
something like the one proposed by BalusC
https://stackoverflow.com/questions/13366936/jsf-filter-not-redirecting-after-initial-redirect/13369719#13369719
The text was updated successfully, but these errors were encountered: