Interface SourceAclProvider

All Known Implementing Classes:
EnterpriseAclAdapterProvider

public interface SourceAclProvider
A provider object for creating row and column ACLs from the data source. This is distinct from EdgeAclProvider which provides ACLs when tables are exported to users.
  • Method Details

    • getRowFilters

      Collection<WhereFilter>[] getRowFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, boolean isRefreshing)
      Get the set of WhereFilters that should be disjunctively applied to requested tables.
      Parameters:
      support - the support object
      namespace - the namespace of the table
      tableName - the name of the table
      isRefreshing - if the table is refreshing
      Returns:
      the collection of row ACLs to be disjunctively applied to the table.
    • getColumnFilters

      ColumnAcl getColumnFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull String[] columnNames, boolean isRefreshing)
      Get the column ACLs to apply to requested tables.
      Parameters:
      support - the support object
      namespace - the namespace of the table
      tableName - the name of the table
      columnNames - the columns to fetch ACLs for
      isRefreshing - if the table is refreshing
      Returns:
      the column ACLs