org.apache.wicket.markup.html
Interface IPackageResourceGuard
- All Known Implementing Classes:
- PackageResourceGuard, SecurePackageResourceGuard
public interface IPackageResourceGuard
Guards lazily loaded package resources
against unwanted access.
- Author:
- Eelco Hillenius
Method Summary |
boolean |
accept(Class<?> scope,
String absolutePath)
Whether the package resource that can be reached using the provided parameters may be
accessed. |
accept
boolean accept(Class<?> scope,
String absolutePath)
- Whether the package resource that can be reached using the provided parameters may be
accessed.
- Parameters:
scope
- This argument will be used to get the class loader for loading the package
resourceabsolutePath
- The absolute path to the resource
- Returns:
- True if access is permitted, false otherwise
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.