5 Replies Latest reply on Nov 16, 2007 9:07 AM by Pete Muir

    Seam, security and session

    Stateless Bean Novice

      Hi,

      Let see my app address is like this:
      htttp://localhost:8080/myApp

      when user is logged or not, for default he is redirected to
      htttp://localhost:8080/myApp/home.seam

      When, user login, then is redirected to
      htttp://localhost:8080/myApp/pages/system.seam

      ../pages/ is secured area

      and here is my question!
      When we write again:
      htttp://localhost:8080/myApp user is redirected to our "home.seam" page.

      How can I redirect user to
      htttp://localhost:8080/myApp/pages/system.seam when he is logged and he write htttp://localhost:8080/myApp