Interface CatalogPermissionsChecker
- All Known Implementing Classes:
DefaultCatalogPermissionsChecker
public interface CatalogPermissionsChecker
Permissions checker for catalog read/write permissions.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasAccessToCatalog(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 accessrequest- request made to access catalogVersioncatalog- name of catalogcatalogVersion- name of catalog version- Returns:
- true if request can access given catalogVersion.
-