Splash › Forums › PrettyFaces Users › Redirect to the saved first requested url after loggin. › Re: Redirect to the saved first requested url after loggin.
Thanks Christian, that’s a great structured help.
But still have some proplem with the AuthentiationFilter Class .
String uri = request.getRequestURI();
returns me the ViewId, ‘adminTasks.xhtml’
whereas I want it to return the original pretty url request ‘/admin/tasks?smt=smt’
It works using the PrettyContext class to get the RequestURL and QueryString, but to make sure if its elegant way.
Sorry, I was starting on the security…
If you find our tools useful, please consider making a donation to help us stay online and building software!