5 Replies Latest reply: Oct 1, 2013 1:13 AM by amr.gawish RSS

    Redirect after authentication in ADF security enabled application

    Tinto Chacko

      HI

       

      My JDeveloper version is 11.1.2.4

       

      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

      http://docs.oracle.com/cd/E37975_01/web.111240/e16182/adding_security.htm#BABDEICH

       

      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

       

      Regards

      Tinto Chacko