Class GrpcAuthorizationEngine

java.lang.Object
io.grpc.xds.internal.rbac.engine.GrpcAuthorizationEngine

public final class GrpcAuthorizationEngine extends Object
Implementation of gRPC server access control based on envoy RBAC protocol: https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/rbac/v3/rbac.proto

One GrpcAuthorizationEngine is initialized with one action type and a list of policies. Policies are examined sequentially in order in an any match fashion, and the first matched policy will be returned. If not matched at all, the opposite action type is returned as a result.