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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket
    • Labels:
      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

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: