Class EnterpriseAclAdapterProvider

java.lang.Object
io.deephaven.enterprise.acl.impl.EnterpriseAclAdapterProvider
All Implemented Interfaces:
SourceAclProvider

public class EnterpriseAclAdapterProvider extends Object implements SourceAclProvider
An SourceAclProvider that converts acls derived from Enterprise PermissionFilterProvider into Community equivalents.
  • Constructor Details

    • EnterpriseAclAdapterProvider

      public EnterpriseAclAdapterProvider(@NotNull @NotNull io.deephaven.enterprise.auth.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: SourceAclProvider
      Get the set of WhereFilters that should be disjunctively applied to requested tables.
      Specified by:
      getRowFilters in interface SourceAclProvider
      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

      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: SourceAclProvider
      Get the column ACLs to apply to requested tables.
      Specified by:
      getColumnFilters in interface SourceAclProvider
      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