Interface CatalogPermissionsChecker

All Known Implementing Classes:
DefaultCatalogPermissionsChecker

public interface CatalogPermissionsChecker
Permissions checker for catalog read/write permissions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasAccessToCatalog(org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest request, String catalog, String catalogVersion)
    Checks if given authentication has access to catalog/version with given request.
  • Method Details

    • hasAccessToCatalog

      boolean hasAccessToCatalog(org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest request, String catalog, String catalogVersion)
      Checks if given authentication has access to catalog/version with given request.
      Parameters:
      authentication - principal trying to gain access
      request - request made to access catalogVersion
      catalog - name of catalog
      catalogVersion - name of catalog version
      Returns:
      true if request can access given catalogVersion.