Interface IPackageResourceGuard

All Known Implementing Classes:
PackageResourceGuard, SecurePackageResourceGuard

public interface IPackageResourceGuard
Guards lazily loaded package resources against unwanted access.
Author:
Eelco Hillenius
  • Method Summary

    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 Details

    • 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