Package org.apache.wicket.markup.html
Interface IPackageResourceGuard
-
- All Known Implementing Classes:
PackageResourceGuard
,SecurePackageResourceGuard
public interface IPackageResourceGuard
Guards lazily loadedpackage resources
against unwanted access.- Author:
- Eelco Hillenius
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(String absolutePath)
Whether the package resource that can be reached using the provided parameters may be accessed.
-
-
-
Method Detail
-
accept
boolean accept(String absolutePath)
Whether the package resource that can be reached using the provided parameters may be accessed.- Parameters:
absolutePath
- The absolute path, starting from the class root (packages are separated with forward slashes instead of dots).- Returns:
- True if access is permitted, false otherwise
-
-