Interface StaticFileAuthorization

All Known Implementing Classes:
AssetManagerStaticFileAuthorization, SearchServiceImpl, SimpleConfigurableStaticFileAuthorization

public interface StaticFileAuthorization
Interface representing an authorization check for a given list of URL patterns. These rules are to be applied when delivering static content.
  • Method Details

    • getProtectedUrlPattern

      List<Pattern> getProtectedUrlPattern()
      Get the list of URL patterns the service is responsible for.
      Returns:
      List of pattern matchers
    • verifyUrlAccess

      boolean verifyUrlAccess(String path)
      Check a given path for access.
      Parameters:
      path - Path to check
      Returns:
      if access is allowed