Interface CatalogPermissionsChecker
-
- All Known Implementing Classes:
DefaultCatalogPermissionsChecker
public interface CatalogPermissionsCheckerPermissions checker for catalog read/write permissions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasAccessToCatalog(org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest request, java.lang.String catalog, java.lang.String catalogVersion)Checks if given authentication has access to catalog/version with given request.
-
-
-
Method Detail
-
hasAccessToCatalog
boolean hasAccessToCatalog(org.springframework.security.core.Authentication authentication, javax.servlet.http.HttpServletRequest request, java.lang.String catalog, java.lang.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.
-
-