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

AuthenticatedWebApplication uses deprecated constructor of AuthenticatedWebSession

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.2
    • 1.3.3
    • wicket-auth-roles
    • 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

            Unassigned Unassigned
            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