Package io.deephaven.enterprise.acl.impl
Class EnterpriseAclAdapterProvider
java.lang.Object
io.deephaven.enterprise.acl.impl.EnterpriseAclAdapterProvider
- All Implemented Interfaces:
SourceAclProvider
An
SourceAclProvider that converts acls derived from Enterprise PermissionFilterProvider into
Community equivalents.-
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseAclAdapterProvider(@NotNull UserContext userContext, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.permissions.PermissionFilterProvider pfp) -
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 ofWhereFilters that should be disjunctively applied to requested tables.
-
Constructor Details
-
EnterpriseAclAdapterProvider
public EnterpriseAclAdapterProvider(@NotNull @NotNull UserContext userContext, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.permissions.PermissionFilterProvider pfp)
-
-
Method Details
-
getRowFilters
public Collection<WhereFilter>[] getRowFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, boolean isRefreshing) Description copied from interface:SourceAclProviderGet the set ofWhereFilters that should be disjunctively applied to requested tables.- Specified by:
getRowFiltersin interfaceSourceAclProvider- 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
public ColumnAcl getColumnFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull String[] columnNames, boolean isRefreshing) Description copied from interface:SourceAclProviderGet the column ACLs to apply to requested tables.- Specified by:
getColumnFiltersin interfaceSourceAclProvider- 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
-