Package io.deephaven.server.session
Class NoopTicketResolverAuthorization
java.lang.Object
io.deephaven.server.session.NoopTicketResolverAuthorization
- All Implemented Interfaces:
TicketResolver.Authorization
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthorizePublishRequest(TicketResolver ticketResolver, ByteBuffer ticket) Implementations must validate that the provided ticket is authorized for the current user.voidauthorizePublishRequest(TicketResolver ticketResolver, org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor) Implementations must validate that the provided ticket is authorized for the current user.<T> Ttransform(T source) Implementations must type check the provided source as any type of object can be stored in an export.
-
Constructor Details
-
NoopTicketResolverAuthorization
public NoopTicketResolverAuthorization()
-
-
Method Details
-
transform
public <T> T transform(T source) Description copied from interface:TicketResolver.AuthorizationImplementations must type check the provided source as any type of object can be stored in an export.- Specified by:
transformin interfaceTicketResolver.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
Description copied from interface:TicketResolver.AuthorizationImplementations must validate that the provided ticket is authorized for the current user.- Specified by:
authorizePublishRequestin interfaceTicketResolver.Authorization- Parameters:
ticketResolver- the ticket resolverticket- 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.AuthorizationImplementations must validate that the provided ticket is authorized for the current user.- Specified by:
authorizePublishRequestin interfaceTicketResolver.Authorization- Parameters:
ticketResolver- the ticket resolverdescriptor- the flight descriptor to publish to; note that the first path element is the route
-