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