Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6929

User forced to log in twice after checking WebClientInfo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 9.5.0
    • None
    • wicket-core
    • Windows 10 Enterprise, JDK 11.0.7, NetBeans 11.3 and Payara 5.201

    Description

      We found that in Wicket 9, an intermittent error occurred which forced our users
      to log in twice, even though they were definitely already correctly logged in
      and their session had not expired. (This error did not occur in Wicket 1.5.)

      We have found that this error is associated with checking WebClientInfo
      properties. In the course of redirection to and from BrowserInfoPage, it seems
      as if the user's login credentials somehow get lost.

      We have found a work-round, which is to check WebClientInfo properties before
      login. However, the disadvantage of this is that every single user sees the
      following message for perhaps a second as they first log in:

      "If you see this, it means both JavaScript and meta-refresh are not support by
      your browser configuration. Please click this link to continue to the original
      destination."

      We have attempted to reproduce this error in a simple quick-start application.
      We can reproduce it reliably on first opening Chrome or Edge on localhost.
      In the current, simple application, we cannot reproduce it when visiting a URL
      with a fully qualified domain name, but it did occur, intermittently, in the
      full-scale application.

      The quick-start application is attached as a zip file. Please see the README.txt of that application for a few more details.

      Attachments

        1. icase_debug.zip
          18.22 MB
          Sushila Burgess

        Activity

          People

            svenmeier Sven Meier
            sushilab Sushila Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified