Package io.deephaven.auth.codegen.impl
Interface InputTableServiceContextualAuthWiring
- All Known Implementing Classes:
InputTableServiceContextualAuthWiring.AllowAll,InputTableServiceContextualAuthWiring.DelegateAll,InputTableServiceContextualAuthWiring.DenyAll,InputTableServiceContextualAuthWiring.TestUseOnly
public interface InputTableServiceContextualAuthWiring
This interface provides type-safe authorization hooks for InputTableServiceGrpc.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA default implementation that allows all requests.static classA default implementation that funnels all requests to invokecheckPermission.static classA default implementation that denies all requests.static class -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPermissionAddTableToInputTable(AuthContext authContext, AddTableRequest request, List<Table> sourceTables) Authorize a request to AddTableToInputTable.voidcheckPermissionDeleteTableFromInputTable(AuthContext authContext, DeleteTableRequest request, List<Table> sourceTables) Authorize a request to DeleteTableFromInputTable.
-
Method Details
-
checkPermissionAddTableToInputTable
void checkPermissionAddTableToInputTable(AuthContext authContext, AddTableRequest request, List<Table> sourceTables) Authorize a request to AddTableToInputTable.- 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 AddTableToInputTable
-
checkPermissionDeleteTableFromInputTable
void checkPermissionDeleteTableFromInputTable(AuthContext authContext, DeleteTableRequest request, List<Table> sourceTables) Authorize a request to DeleteTableFromInputTable.- 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 DeleteTableFromInputTable
-