Package io.deephaven.enterprise.acl
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 Summary
Modifier and TypeMethodDescriptiongetColumnFilters
(@NotNull AclSupport support, @NotNull String namespace, @NotNull String tableName, @NotNull String[] columnNames, boolean isRefreshing) Get the column ACLs to apply to requested tables.getRowFilters
(@NotNull AclSupport support, @NotNull String namespace, @NotNull String tableName, boolean isRefreshing) Get the set ofWhereFilter
s that should be disjunctively applied to requested tables.
-
Method Details
-
getRowFilters
Collection<WhereFilter>[] getRowFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, boolean isRefreshing) Get the set ofWhereFilter
s that should be disjunctively applied to requested tables.- Parameters:
support
- the support objectnamespace
- the namespace of the tabletableName
- the name of the tableisRefreshing
- 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 objectnamespace
- the namespace of the tabletableName
- the name of the tablecolumnNames
- the columns to fetch ACLs forisRefreshing
- if the table is refreshing- Returns:
- the column ACLs
-