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

Allow PackageResource to decide itself whether it could be accepted or not

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.6.0
    • 6.7.0
    • wicket
    • None

    Description

      By default PackageResource uses IPackageResourceGuard to check whether it can be rendered or not.

      By making org.apache.wicket.request.resource.PackageResource#accept(Class, String) protected the resource itself can do the check, e.g. allow the access when usually the guard would reject.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: