Class NoopTicketResolverAuthorization

java.lang.Object
io.deephaven.server.session.NoopTicketResolverAuthorization
All Implemented Interfaces:
TicketResolver.Authorization

public class NoopTicketResolverAuthorization extends Object implements TicketResolver.Authorization
  • Constructor Details

    • NoopTicketResolverAuthorization

      public NoopTicketResolverAuthorization()
  • Method Details

    • transform

      public <T> T transform(T source)
      Description copied from interface: TicketResolver.Authorization
      Implementations must type check the provided source as any type of object can be stored in an export.

      Specified by:
      transform in interface TicketResolver.Authorization
      Parameters:
      source - the object to transform (such as by applying ACLs)
      Returns:
      an object that has been sanitized to be used by the current user
    • authorizePublishRequest

      public void authorizePublishRequest(TicketResolver ticketResolver, ByteBuffer ticket)
      Description copied from interface: TicketResolver.Authorization
      Implementations must validate that the provided ticket is authorized for the current user.

      Specified by:
      authorizePublishRequest in interface TicketResolver.Authorization
      Parameters:
      ticketResolver - the ticket resolver
      ticket - the ticket to publish to as a byte buffer; note that the first byte is the route
    • authorizePublishRequest

      public void authorizePublishRequest(TicketResolver ticketResolver, org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor)
      Description copied from interface: TicketResolver.Authorization
      Implementations must validate that the provided ticket is authorized for the current user.

      Specified by:
      authorizePublishRequest in interface TicketResolver.Authorization
      Parameters:
      ticketResolver - the ticket resolver
      descriptor - the flight descriptor to publish to; note that the first path element is the route