Wicket
  1. Wicket
  2. WICKET-1352

authentication invalid redirection when wicket filter is /*

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: wicket-auth-roles
    • Labels:
      None
    • Environment:
      Glassfish on Linux, jdk 1.6.03

      Description

      Take the example authentication application (examples/authentication), change the wicket filter from /authentication/* to /*

      When a user logs in for the 1st time, they are redirected to a url which is below the application.

      eg.

      Sign in page is
      http://localhost:8080/WicketTest3/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage

      Correct login redirects to
      http://localhost:8080/index.jsp?wicket:bookmarkablePage=%3Aauthentication.AdminPage

      Note the missing "WicketTest3"

      Changing the servlet filter to something other than /* (in the example below it is /test/*) does not show this problem.

      e.g.
      http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage

      logged in page is
      http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.AdminPage

      I hope I've explained this problem correctly.

      Regards

      Peter Henderson.

        Issue Links

          Activity

          Hide
          Alastair Maw added a comment -

          This duplicates WICKET-1205.

          Show
          Alastair Maw added a comment - This duplicates WICKET-1205 .

            People

            • Assignee:
              Alastair Maw
              Reporter:
              Peter Henderson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development