Package io.deephaven.auth.codegen.impl
Class HierarchicalTableServiceContextualAuthWiring.DelegateAll
java.lang.Object
io.deephaven.auth.codegen.impl.HierarchicalTableServiceContextualAuthWiring.DelegateAll
- All Implemented Interfaces:
HierarchicalTableServiceContextualAuthWiring
- Direct Known Subclasses:
HierarchicalTableServiceContextualAuthWiring.AllowAll
,HierarchicalTableServiceContextualAuthWiring.DenyAll
- Enclosing interface:
- HierarchicalTableServiceContextualAuthWiring
public abstract static class HierarchicalTableServiceContextualAuthWiring.DelegateAll
extends Object
implements HierarchicalTableServiceContextualAuthWiring
A default implementation that funnels all requests to invoke
checkPermission
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.auth.codegen.impl.HierarchicalTableServiceContextualAuthWiring
HierarchicalTableServiceContextualAuthWiring.AllowAll, HierarchicalTableServiceContextualAuthWiring.DelegateAll, HierarchicalTableServiceContextualAuthWiring.DenyAll, HierarchicalTableServiceContextualAuthWiring.TestUseOnly
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
checkPermission
(AuthContext authContext, List<Table> sourceTables) void
checkPermissionApply
(AuthContext authContext, HierarchicalTableApplyRequest request, List<Table> sourceTables) Authorize a request to Apply.void
checkPermissionExportSource
(AuthContext authContext, HierarchicalTableSourceExportRequest request, List<Table> sourceTables) Authorize a request to ExportSource.void
checkPermissionRollup
(AuthContext authContext, RollupRequest request, List<Table> sourceTables) Authorize a request to Rollup.void
checkPermissionTree
(AuthContext authContext, TreeRequest request, List<Table> sourceTables) Authorize a request to Tree.void
checkPermissionView
(AuthContext authContext, HierarchicalTableViewRequest request, List<Table> sourceTables) Authorize a request to View.
-
Constructor Details
-
DelegateAll
public DelegateAll()
-
-
Method Details
-
checkPermission
-
checkPermissionRollup
public void checkPermissionRollup(AuthContext authContext, RollupRequest request, List<Table> sourceTables) Description copied from interface:HierarchicalTableServiceContextualAuthWiring
Authorize a request to Rollup.- Specified by:
checkPermissionRollup
in interfaceHierarchicalTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-
checkPermissionTree
public void checkPermissionTree(AuthContext authContext, TreeRequest request, List<Table> sourceTables) Description copied from interface:HierarchicalTableServiceContextualAuthWiring
Authorize a request to Tree.- Specified by:
checkPermissionTree
in interfaceHierarchicalTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-
checkPermissionApply
public void checkPermissionApply(AuthContext authContext, HierarchicalTableApplyRequest request, List<Table> sourceTables) Description copied from interface:HierarchicalTableServiceContextualAuthWiring
Authorize a request to Apply.- Specified by:
checkPermissionApply
in interfaceHierarchicalTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-
checkPermissionView
public void checkPermissionView(AuthContext authContext, HierarchicalTableViewRequest request, List<Table> sourceTables) Description copied from interface:HierarchicalTableServiceContextualAuthWiring
Authorize a request to View.- Specified by:
checkPermissionView
in interfaceHierarchicalTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-
checkPermissionExportSource
public void checkPermissionExportSource(AuthContext authContext, HierarchicalTableSourceExportRequest request, List<Table> sourceTables) Description copied from interface:HierarchicalTableServiceContextualAuthWiring
Authorize a request to ExportSource.- Specified by:
checkPermissionExportSource
in interfaceHierarchicalTableServiceContextualAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorizesourceTables
- the operation's source tables
-