My JDeveloper version is 22.214.171.124
I have created an custom login page in a ADF security enabled application where the user after authentication redirects to welcome page.
What i want is, after authentication, redirect should happen to the user requested page rather than the hard coded welcome page.
I have followed the below link to create the custom page
I had also followed the link, Adf custom authentication and created a phaselistener as per Frank's post https://blogs.oracle.com/jdevotnharvest/entry/how_to_configure_an_adf_phase_listener_and_where_to_put_the_file
But I am not able to get the page id which was originally requested by the user.
i am using ctx.getViewRoot().getViewId(); in the phaselistener to get the view id of the page.
How can i get the page view id to redirect
I cant use setpropertyListener.
Our scenario is when one user say USER1 does any transaction, a mail is sent to a list of approvers. This mail will contain the URL link to the page which when clicked, an approver can navigate directly to the page. In the URL i will be sending the transaction ID using which the details in the page will be populated.
In this scenario i want to navigate to the original requested page by the user after authentication and not to a welcome page.
Any way i can achieve this?
Thanks and Regards
I believe if you looked at this documentation in section 126.96.36.199 you can find the loginUrl is different and is actually pointing to the user's requested page!
Edit: As explained by Frank this is not recommended