Interface TenantAuthorizationChecker

All Known Implementing Classes:
TenantAuthorizationCheckerImpl

public interface TenantAuthorizationChecker
  • Method Summary

    Modifier and Type
    Method
    Description
    isAuthorized(String tenantId)
    Verifies if data can be accessed for the tenant whose identifier was provided.
    Verifies if data can be accessed for the list of tenants whose identifiers were provided.
  • Method Details

    • isAuthorized

      Boolean isAuthorized(String tenantId)
      Verifies if data can be accessed for the tenant whose identifier was provided.
      Parameters:
      tenantId - the tenant identifier to be checked
      Returns:
      true
    • isFullyAuthorized

      Boolean isFullyAuthorized(List<String> tenantId)
      Verifies if data can be accessed for the list of tenants whose identifiers were provided.
      Parameters:
      tenantId - the tenant identifier to be checked
      Returns:
      true