URL Redirect

Splash Forums PrettyFaces Users URL Redirect

This topic contains 1 reply, has 2 voices, and was last updated by  Lincoln Baxter III 7 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17769

    shameer
    Participant

    Hi,

    I have a pretty URL something like “http://localhost:8080/urltest/next/johns/abraham”.

    When I copy paste this url in the address bar, I want to check whether the user is logged in and if not logged in I need to load the login page first and after a sucessful login need to load the resultant page for the url “http://localhost:8080/urltest/next/johns/abraham”

    Can you please tell how can we do this with pretty faces ?

    Regards,

    Shameer

    #20099

    You can take a look at one of my applications that implements a custom login system (but that I am only using until I can replace it with Seam security when it comes out)…

    Example of a login-redirect system with PrettyFaces, CDI,and JSF:

    http://github.com/lincolnthree/ocpsoft-socialpm

    Seam 3 Security:

    http://seamframework.org/Seam3/SecurityModule

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.