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

AuthenticatedWebApplication uses deprecated constructor of AuthenticatedWebSession

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.2
    • Fix Version/s: 1.3.3
    • Component/s: wicket-auth-roles
    • Labels:
      None

      Description

      In changing from 1.3.1 to 1.3.2 the AuthenticatedWebSession(AuthenticatedWebApplication, Request) method became deprecated, but AuthenticatedWebApplication#newSession still searches for this one.

      Simply a matter of changing lines 114-116 of AuthenticatedWebApplication.java from:

      return webSessionClassRef.get().getDeclaredConstructor(
      AuthenticatedWebApplication.class, Request.class).newInstance(
      AuthenticatedWebApplication.this, request);

      to:

      return webSessionClassRef.get().getDeclaredConstructor(
      Request.class).newInstance(
      request);

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cgdavies Chris Davies
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified