Interface IResourceSecurityChecker
- All Known Implementing Classes:
CCResourceSecurityChecker
,DefaultResourceSecurityChecker
public interface IResourceSecurityChecker
Interface to check if to allow access to resources via classloader
from outside (e.g. by URL).
Registration of instances via
Registration of instances via
ResourceSecurity.addResourceSecurityChecker(IResourceSecurityChecker)
.-
Method Summary
-
Method Details
-
checkClassLoaderPathForOutsideUsage
- Parameters:
path
- Access path into the classloader. String starting with "/" e.g. "/com/xyz/resources/whatever.png"- Returns:
- true ==> access is allowed, false ==> access is not allowed, null ==> path not relevant for this checker
-