Class TicketResolverBase

java.lang.Object
io.deephaven.server.session.TicketResolverBase
All Implemented Interfaces:
TicketResolver
Direct Known Subclasses:
ApplicationTicketResolver, ExportTicketResolver, ScopeTicketResolver, SharedTicketResolver

public abstract class TicketResolverBase extends Object implements TicketResolver
  • Field Details

  • Constructor Details

    • TicketResolverBase

      public TicketResolverBase(AuthorizationProvider authProvider, byte ticketPrefix, String flightDescriptorRoute)
  • Method Details

    • ticketRoute

      public byte ticketRoute()
      Specified by:
      ticketRoute in interface TicketResolver
      Returns:
      the single byte prefix used as a route on the ticket
    • flightDescriptorRoute

      public String flightDescriptorRoute()
      Description copied from interface: TicketResolver
      The first path entry on a route indicates which resolver to use. The remaining path elements are used to resolve the descriptor.
      Specified by:
      flightDescriptorRoute in interface TicketResolver
      Returns:
      the string that will route from flight descriptor to this resolver