Package org.pkl.core

Interface SecurityManager


  • public interface SecurityManager
    Enforces a security model during evaluation.

    Use SecurityManagers to obtain or construct an instance of this type.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void checkImportModule​(java.net.URI importingModule, java.net.URI importedModule)
      Checks if the given importing module may import the given imported module.
      void checkReadResource​(java.net.URI resource)
      Checks if the given resource may be read.
      void checkResolveModule​(java.net.URI uri)
      Checks if the given module may be resolved.
      void checkResolveResource​(java.net.URI resource)
      Checks if the given resource may be resolved.