Interface ExtAuthzOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExtAuthz,ExtAuthz.Builder
public interface ExtAuthzOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetFailureModeAllow()The filter's behaviour in case the external authorization service does not respond back.GrpcServicegetGrpcService()The external authorization gRPC service configuration.GrpcServiceOrBuildergetGrpcServiceOrBuilder()The external authorization gRPC service configuration.booleangetIncludePeerCertificate()Specifies if the peer certificate is sent to the external service.StringgetStatPrefix()The prefix to use when emitting statistics.com.google.protobuf.ByteStringgetStatPrefixBytes()The prefix to use when emitting statistics.booleanhasGrpcService()The external authorization gRPC service configuration.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStatPrefix
String getStatPrefix()
The prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- The statPrefix.
-
getStatPrefixBytes
com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for statPrefix.
-
hasGrpcService
boolean hasGrpcService()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 2;- Returns:
- Whether the grpcService field is set.
-
getGrpcService
GrpcService getGrpcService()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 2;- Returns:
- The grpcService.
-
getGrpcServiceOrBuilder
GrpcServiceOrBuilder getGrpcServiceOrBuilder()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 2;
-
getFailureModeAllow
boolean getFailureModeAllow()
The filter's behaviour in case the external authorization service does not respond back. When it is set to true, Envoy will also allow traffic in case of communication failure between authorization service and the proxy. Defaults to false.
bool failure_mode_allow = 3;- Returns:
- The failureModeAllow.
-
getIncludePeerCertificate
boolean getIncludePeerCertificate()
Specifies if the peer certificate is sent to the external service. When this field is true, Envoy will include the peer X.509 certificate, if available, in the :ref:`certificate<envoy_api_field_service.auth.v2.AttributeContext.Peer.certificate>`.
bool include_peer_certificate = 4;- Returns:
- The includePeerCertificate.
-
-