Package io.deephaven.auth.codegen.impl
Interface TableServiceContextualAuthWiring
- All Known Implementing Classes:
TableServiceContextualAuthWiring.AllowAll
,TableServiceContextualAuthWiring.DelegateAll
,TableServiceContextualAuthWiring.DenyAll
,TableServiceContextualAuthWiring.TestUseOnly
public interface TableServiceContextualAuthWiring
This interface provides type-safe authorization hooks for TableServiceGrpc.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
A default implementation that allows all requests.static class
A default implementation that funnels all requests to invokecheckPermission
.static class
A default implementation that denies all requests.static class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermissionAggregate
(AuthContext authContext, AggregateRequest request, List<Table> sourceTables) Authorize a request to Aggregate.void
checkPermissionAggregateAll
(AuthContext authContext, AggregateAllRequest request, List<Table> sourceTables) Authorize a request to AggregateAll.void
checkPermissionAjTables
(AuthContext authContext, AjRajTablesRequest request, List<Table> sourceTables) Authorize a request to AjTables.void
checkPermissionApplyPreviewColumns
(AuthContext authContext, ApplyPreviewColumnsRequest request, List<Table> sourceTables) Authorize a request to ApplyPreviewColumns.void
checkPermissionAsOfJoinTables
(AuthContext authContext, AsOfJoinTablesRequest request, List<Table> sourceTables) Authorize a request to AsOfJoinTables.void
checkPermissionComboAggregate
(AuthContext authContext, ComboAggregateRequest request, List<Table> sourceTables) Authorize a request to ComboAggregate.void
checkPermissionComputeColumnStatistics
(AuthContext authContext, ColumnStatisticsRequest request, List<Table> sourceTables) Authorize a request to ComputeColumnStatistics.void
checkPermissionCreateInputTable
(AuthContext authContext, CreateInputTableRequest request, List<Table> sourceTables) Authorize a request to CreateInputTable.void
checkPermissionCrossJoinTables
(AuthContext authContext, CrossJoinTablesRequest request, List<Table> sourceTables) Authorize a request to CrossJoinTables.void
checkPermissionDropColumns
(AuthContext authContext, DropColumnsRequest request, List<Table> sourceTables) Authorize a request to DropColumns.void
checkPermissionEmptyTable
(AuthContext authContext, EmptyTableRequest request, List<Table> sourceTables) Authorize a request to EmptyTable.void
checkPermissionExactJoinTables
(AuthContext authContext, ExactJoinTablesRequest request, List<Table> sourceTables) Authorize a request to ExactJoinTables.void
checkPermissionExportedTableUpdates
(AuthContext authContext, ExportedTableUpdatesRequest request, List<Table> sourceTables) Authorize a request to ExportedTableUpdates.void
checkPermissionFetchTable
(AuthContext authContext, FetchTableRequest request, List<Table> sourceTables) Authorize a request to FetchTable.void
checkPermissionFilter
(AuthContext authContext, FilterTableRequest request, List<Table> sourceTables) Authorize a request to Filter.void
checkPermissionFlatten
(AuthContext authContext, FlattenRequest request, List<Table> sourceTables) Authorize a request to Flatten.void
checkPermissionGetExportedTableCreationResponse
(AuthContext authContext, Ticket request, List<Table> sourceTables) Authorize a request to GetExportedTableCreationResponse.void
checkPermissionHead
(AuthContext authContext, HeadOrTailRequest request, List<Table> sourceTables) Authorize a request to Head.void
checkPermissionHeadBy
(AuthContext authContext, HeadOrTailByRequest request, List<Table> sourceTables) Authorize a request to HeadBy.void
checkPermissionLazyUpdate
(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to LazyUpdate.void
checkPermissionLeftJoinTables
(AuthContext authContext, LeftJoinTablesRequest request, List<Table> sourceTables) Authorize a request to LeftJoinTables.void
checkPermissionMergeTables
(AuthContext authContext, MergeTablesRequest request, List<Table> sourceTables) Authorize a request to MergeTables.void
checkPermissionMetaTable
(AuthContext authContext, MetaTableRequest request, List<Table> sourceTables) Authorize a request to MetaTable.void
checkPermissionMultiJoinTables
(AuthContext authContext, MultiJoinTablesRequest request, List<Table> sourceTables) Authorize a request to MultiJoinTables.void
checkPermissionNaturalJoinTables
(AuthContext authContext, NaturalJoinTablesRequest request, List<Table> sourceTables) Authorize a request to NaturalJoinTables.void
checkPermissionRajTables
(AuthContext authContext, AjRajTablesRequest request, List<Table> sourceTables) Authorize a request to RajTables.void
checkPermissionRangeJoinTables
(AuthContext authContext, RangeJoinTablesRequest request, List<Table> sourceTables) Authorize a request to RangeJoinTables.void
checkPermissionRunChartDownsample
(AuthContext authContext, RunChartDownsampleRequest request, List<Table> sourceTables) Authorize a request to RunChartDownsample.void
checkPermissionSeekRow
(AuthContext authContext, SeekRowRequest request, List<Table> sourceTables) Authorize a request to SeekRow.void
checkPermissionSelect
(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to Select.void
checkPermissionSelectDistinct
(AuthContext authContext, SelectDistinctRequest request, List<Table> sourceTables) Authorize a request to SelectDistinct.void
checkPermissionSnapshot
(AuthContext authContext, SnapshotTableRequest request, List<Table> sourceTables) Authorize a request to Snapshot.void
checkPermissionSnapshotWhen
(AuthContext authContext, SnapshotWhenTableRequest request, List<Table> sourceTables) Authorize a request to SnapshotWhen.void
checkPermissionSort
(AuthContext authContext, SortTableRequest request, List<Table> sourceTables) Authorize a request to Sort.void
checkPermissionTail
(AuthContext authContext, HeadOrTailRequest request, List<Table> sourceTables) Authorize a request to Tail.void
checkPermissionTailBy
(AuthContext authContext, HeadOrTailByRequest request, List<Table> sourceTables) Authorize a request to TailBy.void
checkPermissionTimeTable
(AuthContext authContext, TimeTableRequest request, List<Table> sourceTables) Authorize a request to TimeTable.void
checkPermissionUngroup
(AuthContext authContext, UngroupRequest request, List<Table> sourceTables) Authorize a request to Ungroup.void
checkPermissionUnstructuredFilter
(AuthContext authContext, UnstructuredFilterTableRequest request, List<Table> sourceTables) Authorize a request to UnstructuredFilter.void
checkPermissionUpdate
(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to Update.void
checkPermissionUpdateBy
(AuthContext authContext, UpdateByRequest request, List<Table> sourceTables) Authorize a request to UpdateBy.void
checkPermissionUpdateView
(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to UpdateView.void
checkPermissionView
(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to View.void
checkPermissionWhereIn
(AuthContext authContext, WhereInRequest request, List<Table> sourceTables) Authorize a request to WhereIn.
-
Method Details
-
checkPermissionGetExportedTableCreationResponse
void checkPermissionGetExportedTableCreationResponse(AuthContext authContext, Ticket request, List<Table> sourceTables) Authorize a request to GetExportedTableCreationResponse.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke GetExportedTableCreationResponse
-
checkPermissionFetchTable
void checkPermissionFetchTable(AuthContext authContext, FetchTableRequest request, List<Table> sourceTables) Authorize a request to FetchTable.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke FetchTable
-
checkPermissionApplyPreviewColumns
void checkPermissionApplyPreviewColumns(AuthContext authContext, ApplyPreviewColumnsRequest request, List<Table> sourceTables) Authorize a request to ApplyPreviewColumns.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke ApplyPreviewColumns
-
checkPermissionEmptyTable
void checkPermissionEmptyTable(AuthContext authContext, EmptyTableRequest request, List<Table> sourceTables) Authorize a request to EmptyTable.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke EmptyTable
-
checkPermissionTimeTable
void checkPermissionTimeTable(AuthContext authContext, TimeTableRequest request, List<Table> sourceTables) Authorize a request to TimeTable.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke TimeTable
-
checkPermissionDropColumns
void checkPermissionDropColumns(AuthContext authContext, DropColumnsRequest request, List<Table> sourceTables) Authorize a request to DropColumns.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke DropColumns
-
checkPermissionUpdate
void checkPermissionUpdate(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to Update.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Update
-
checkPermissionLazyUpdate
void checkPermissionLazyUpdate(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to LazyUpdate.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke LazyUpdate
-
checkPermissionView
void checkPermissionView(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to View.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke View
-
checkPermissionUpdateView
void checkPermissionUpdateView(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to UpdateView.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke UpdateView
-
checkPermissionSelect
void checkPermissionSelect(AuthContext authContext, SelectOrUpdateRequest request, List<Table> sourceTables) Authorize a request to Select.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Select
-
checkPermissionUpdateBy
void checkPermissionUpdateBy(AuthContext authContext, UpdateByRequest request, List<Table> sourceTables) Authorize a request to UpdateBy.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke UpdateBy
-
checkPermissionSelectDistinct
void checkPermissionSelectDistinct(AuthContext authContext, SelectDistinctRequest request, List<Table> sourceTables) Authorize a request to SelectDistinct.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke SelectDistinct
-
checkPermissionFilter
void checkPermissionFilter(AuthContext authContext, FilterTableRequest request, List<Table> sourceTables) Authorize a request to Filter.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Filter
-
checkPermissionUnstructuredFilter
void checkPermissionUnstructuredFilter(AuthContext authContext, UnstructuredFilterTableRequest request, List<Table> sourceTables) Authorize a request to UnstructuredFilter.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke UnstructuredFilter
-
checkPermissionSort
void checkPermissionSort(AuthContext authContext, SortTableRequest request, List<Table> sourceTables) Authorize a request to Sort.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Sort
-
checkPermissionHead
void checkPermissionHead(AuthContext authContext, HeadOrTailRequest request, List<Table> sourceTables) Authorize a request to Head.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Head
-
checkPermissionTail
void checkPermissionTail(AuthContext authContext, HeadOrTailRequest request, List<Table> sourceTables) Authorize a request to Tail.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Tail
-
checkPermissionHeadBy
void checkPermissionHeadBy(AuthContext authContext, HeadOrTailByRequest request, List<Table> sourceTables) Authorize a request to HeadBy.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke HeadBy
-
checkPermissionTailBy
void checkPermissionTailBy(AuthContext authContext, HeadOrTailByRequest request, List<Table> sourceTables) Authorize a request to TailBy.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke TailBy
-
checkPermissionUngroup
void checkPermissionUngroup(AuthContext authContext, UngroupRequest request, List<Table> sourceTables) Authorize a request to Ungroup.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Ungroup
-
checkPermissionMergeTables
void checkPermissionMergeTables(AuthContext authContext, MergeTablesRequest request, List<Table> sourceTables) Authorize a request to MergeTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke MergeTables
-
checkPermissionCrossJoinTables
void checkPermissionCrossJoinTables(AuthContext authContext, CrossJoinTablesRequest request, List<Table> sourceTables) Authorize a request to CrossJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke CrossJoinTables
-
checkPermissionNaturalJoinTables
void checkPermissionNaturalJoinTables(AuthContext authContext, NaturalJoinTablesRequest request, List<Table> sourceTables) Authorize a request to NaturalJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke NaturalJoinTables
-
checkPermissionExactJoinTables
void checkPermissionExactJoinTables(AuthContext authContext, ExactJoinTablesRequest request, List<Table> sourceTables) Authorize a request to ExactJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke ExactJoinTables
-
checkPermissionLeftJoinTables
void checkPermissionLeftJoinTables(AuthContext authContext, LeftJoinTablesRequest request, List<Table> sourceTables) Authorize a request to LeftJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke LeftJoinTables
-
checkPermissionAsOfJoinTables
void checkPermissionAsOfJoinTables(AuthContext authContext, AsOfJoinTablesRequest request, List<Table> sourceTables) Authorize a request to AsOfJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke AsOfJoinTables
-
checkPermissionAjTables
void checkPermissionAjTables(AuthContext authContext, AjRajTablesRequest request, List<Table> sourceTables) Authorize a request to AjTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke AjTables
-
checkPermissionRajTables
void checkPermissionRajTables(AuthContext authContext, AjRajTablesRequest request, List<Table> sourceTables) Authorize a request to RajTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke RajTables
-
checkPermissionMultiJoinTables
void checkPermissionMultiJoinTables(AuthContext authContext, MultiJoinTablesRequest request, List<Table> sourceTables) Authorize a request to MultiJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke MultiJoinTables
-
checkPermissionRangeJoinTables
void checkPermissionRangeJoinTables(AuthContext authContext, RangeJoinTablesRequest request, List<Table> sourceTables) Authorize a request to RangeJoinTables.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke RangeJoinTables
-
checkPermissionComboAggregate
void checkPermissionComboAggregate(AuthContext authContext, ComboAggregateRequest request, List<Table> sourceTables) Authorize a request to ComboAggregate.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke ComboAggregate
-
checkPermissionAggregateAll
void checkPermissionAggregateAll(AuthContext authContext, AggregateAllRequest request, List<Table> sourceTables) Authorize a request to AggregateAll.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke AggregateAll
-
checkPermissionAggregate
void checkPermissionAggregate(AuthContext authContext, AggregateRequest request, List<Table> sourceTables) Authorize a request to Aggregate.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Aggregate
-
checkPermissionSnapshot
void checkPermissionSnapshot(AuthContext authContext, SnapshotTableRequest request, List<Table> sourceTables) Authorize a request to Snapshot.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Snapshot
-
checkPermissionSnapshotWhen
void checkPermissionSnapshotWhen(AuthContext authContext, SnapshotWhenTableRequest request, List<Table> sourceTables) Authorize a request to SnapshotWhen.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke SnapshotWhen
-
checkPermissionFlatten
void checkPermissionFlatten(AuthContext authContext, FlattenRequest request, List<Table> sourceTables) Authorize a request to Flatten.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke Flatten
-
checkPermissionRunChartDownsample
void checkPermissionRunChartDownsample(AuthContext authContext, RunChartDownsampleRequest request, List<Table> sourceTables) Authorize a request to RunChartDownsample.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke RunChartDownsample
-
checkPermissionCreateInputTable
void checkPermissionCreateInputTable(AuthContext authContext, CreateInputTableRequest request, List<Table> sourceTables) Authorize a request to CreateInputTable.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke CreateInputTable
-
checkPermissionWhereIn
void checkPermissionWhereIn(AuthContext authContext, WhereInRequest request, List<Table> sourceTables) Authorize a request to WhereIn.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke WhereIn
-
checkPermissionExportedTableUpdates
void checkPermissionExportedTableUpdates(AuthContext authContext, ExportedTableUpdatesRequest request, List<Table> sourceTables) Authorize a request to ExportedTableUpdates.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke ExportedTableUpdates
-
checkPermissionSeekRow
void checkPermissionSeekRow(AuthContext authContext, SeekRowRequest request, List<Table> sourceTables) Authorize a request to SeekRow.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke SeekRow
-
checkPermissionMetaTable
void checkPermissionMetaTable(AuthContext authContext, MetaTableRequest request, List<Table> sourceTables) Authorize a request to MetaTable.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke MetaTable
-
checkPermissionComputeColumnStatistics
void checkPermissionComputeColumnStatistics(AuthContext authContext, ColumnStatisticsRequest request, List<Table> sourceTables) Authorize a request to ComputeColumnStatistics.- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables- Throws:
io.grpc.StatusRuntimeException
- if the user is not authorized to invoke ComputeColumnStatistics
-