Package io.deephaven.auth.codegen.impl
Class HealthAuthWiring.DenyAll
java.lang.Object
io.deephaven.auth.codegen.impl.HealthAuthWiring.DenyAll
- All Implemented Interfaces:
HealthAuthWiring
,ServiceAuthWiring<io.grpc.health.v1.HealthGrpc.HealthImplBase>
- Enclosing interface:
- HealthAuthWiring
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.auth.codegen.impl.HealthAuthWiring
HealthAuthWiring.AllowAll, HealthAuthWiring.DenyAll, HealthAuthWiring.TestUseOnly
Nested classes/interfaces inherited from interface io.deephaven.auth.ServiceAuthWiring
ServiceAuthWiring.AuthorizingServerCallHandler<ReqT,
RespT>, ServiceAuthWiring.CallStartedCallback, ServiceAuthWiring.MessageReceivedCallback<T> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMessageReceivedCheck
(AuthContext authContext, io.grpc.health.v1.HealthCheckRequest request) Authorize a request to Check.void
onMessageReceivedWatch
(AuthContext authContext, io.grpc.health.v1.HealthCheckRequest request) Authorize a request to Watch.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.auth.codegen.impl.HealthAuthWiring
intercept
-
Constructor Details
-
DenyAll
public DenyAll()
-
-
Method Details
-
onMessageReceivedCheck
public void onMessageReceivedCheck(AuthContext authContext, io.grpc.health.v1.HealthCheckRequest request) Description copied from interface:HealthAuthWiring
Authorize a request to Check.- Specified by:
onMessageReceivedCheck
in interfaceHealthAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorize
-
onMessageReceivedWatch
public void onMessageReceivedWatch(AuthContext authContext, io.grpc.health.v1.HealthCheckRequest request) Description copied from interface:HealthAuthWiring
Authorize a request to Watch.- Specified by:
onMessageReceivedWatch
in interfaceHealthAuthWiring
- Parameters:
authContext
- the authentication context of the requestrequest
- the request to authorize
-