7 Replies Latest reply on Apr 25, 2006 11:02 PM by Gavin King

    deny access to secured pages via get-requests (discuss plz!)

    Andreas Berger Newbie


      I spend the whole day (and night) to find a sollution for a common problem:

      If a client bookmarks a seam page and try to acces this page via get request, the page is rendered and no action/validation is invoked. There is no simple way to redirect the user to the Login page.

      I don't want to use a @Factory annotation, because the user should first be authenticated.

      Is there a simple possibilty to redirect a user to a welcome page, if he is not logged in? (...and entered a page via get request)

      I tried to solve this problem with JAAS and security-constraint in web.xml but it doesn't fit.

      Does anybody solved this problem?

      - Andreas