You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/02/28 15:29:14 UTC

[jira] [Created] (WICKET-5066) Allow PackageResource to decide itself whether it could be accepted or not

Martin Grigorov created WICKET-5066:
---------------------------------------

             Summary: Allow PackageResource to decide itself whether it could be accepted or not
                 Key: WICKET-5066
                 URL: https://issues.apache.org/jira/browse/WICKET-5066
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.6.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira