Package io.deephaven.auth.codegen.impl
Class InputTableServiceContextualAuthWiring.DelegateAll
java.lang.Object
io.deephaven.auth.codegen.impl.InputTableServiceContextualAuthWiring.DelegateAll
- All Implemented Interfaces:
InputTableServiceContextualAuthWiring
- Direct Known Subclasses:
InputTableServiceContextualAuthWiring.AllowAll
,InputTableServiceContextualAuthWiring.DenyAll
- Enclosing interface:
- InputTableServiceContextualAuthWiring
public abstract static class InputTableServiceContextualAuthWiring.DelegateAll
extends Object
implements InputTableServiceContextualAuthWiring
A default implementation that funnels all requests to invoke
checkPermission
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.auth.codegen.impl.InputTableServiceContextualAuthWiring
InputTableServiceContextualAuthWiring.AllowAll, InputTableServiceContextualAuthWiring.DelegateAll, InputTableServiceContextualAuthWiring.DenyAll, InputTableServiceContextualAuthWiring.TestUseOnly
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
checkPermission
(AuthContext authContext, List<Table> sourceTables) void
checkPermissionAddTableToInputTable
(AuthContext authContext, AddTableRequest request, List<Table> sourceTables) Authorize a request to AddTableToInputTable.void
checkPermissionDeleteTableFromInputTable
(AuthContext authContext, DeleteTableRequest request, List<Table> sourceTables) Authorize a request to DeleteTableFromInputTable.
-
Constructor Details
-
DelegateAll
public DelegateAll()
-
-
Method Details
-
checkPermission
-
checkPermissionAddTableToInputTable
public void checkPermissionAddTableToInputTable(AuthContext authContext, AddTableRequest request, List<Table> sourceTables) Description copied from interface:InputTableServiceContextualAuthWiring
Authorize a request to AddTableToInputTable.- Specified by:
checkPermissionAddTableToInputTable
in interfaceInputTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-
checkPermissionDeleteTableFromInputTable
public void checkPermissionDeleteTableFromInputTable(AuthContext authContext, DeleteTableRequest request, List<Table> sourceTables) Description copied from interface:InputTableServiceContextualAuthWiring
Authorize a request to DeleteTableFromInputTable.- Specified by:
checkPermissionDeleteTableFromInputTable
in interfaceInputTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-