Class TableTicketTransformer

java.lang.Object
io.deephaven.enterprise.acl.transform.TableTicketTransformer
All Implemented Interfaces:
TicketTransformer

public class TableTicketTransformer extends Object implements TicketTransformer
A TicketTransformer that handles transformation of Tables to apply ACLs at the edge.
  • Constructor Details

    • TableTicketTransformer

      public TableTicketTransformer(@NotNull @NotNull AclSupport support)
  • Method Details

    • priority

      public int priority()
      Description copied from interface: TicketTransformer
      The relative priority of the transformer. Lower numbers are higher priority, 0 is the lowest allowed value.
      Specified by:
      priority in interface TicketTransformer
      Returns:
      the priority of the transformer
    • canTransform

      public <T> boolean canTransform(T value)
      Description copied from interface: TicketTransformer
      Check if this transformer can apply a transformation to the specified value.
      Specified by:
      canTransform in interface TicketTransformer
      Type Parameters:
      T - the type
      Parameters:
      value - the value to transform
      Returns:
      true if this transformer can apply a transformation
    • transform

      public <T> T transform(@NotNull @NotNull DheAuthContext authContext, T value)
      Description copied from interface: TicketTransformer
      Transform the specified object using the auth context.
      Specified by:
      transform in interface TicketTransformer
      Type Parameters:
      T - The type.
      Parameters:
      authContext - the authentication context
      value - the value to transform
      Returns:
      the transformed value
    • getAllowedGroups

      public <T> Set<String> getAllowedGroups(@Nullable T value)
      Description copied from interface: TicketTransformer
      Get a set of groups that may access the specified object.
      Specified by:
      getAllowedGroups in interface TicketTransformer
      Type Parameters:
      T - The type
      Parameters:
      value - the object.
      Returns:
      a set of groups that is allowed to access the object.