public final class ExtAuthz extends com.google.protobuf.GeneratedMessageV3 implements ExtAuthzOrBuilder
External Authorization filter calls out to an external service over the gRPC Authorization API defined by :ref:`CheckRequest <envoy_api_msg_service.auth.v4alpha.CheckRequest>`. A failed check will cause this filter to close the TCP connection. [#next-free-field: 7]Protobuf type
envoy.extensions.filters.network.ext_authz.v4alpha.ExtAuthz| Modifier and Type | Class and Description |
|---|---|
static class |
ExtAuthz.Builder
External Authorization filter calls out to an external service over the
gRPC Authorization API defined by
:ref:`CheckRequest <envoy_api_msg_service.auth.v4alpha.CheckRequest>`.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FAILURE_MODE_ALLOW_FIELD_NUMBER |
static int |
FILTER_ENABLED_METADATA_FIELD_NUMBER |
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
INCLUDE_PEER_CERTIFICATE_FIELD_NUMBER |
static int |
STAT_PREFIX_FIELD_NUMBER |
static int |
TRANSPORT_API_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExtAuthz |
getDefaultInstance() |
ExtAuthz |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getFailureModeAllow()
The filter's behaviour in case the external authorization service does
not respond back.
|
MetadataMatcher |
getFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher.
|
MetadataMatcherOrBuilder |
getFilterEnabledMetadataOrBuilder()
Specifies if the filter is enabled with metadata matcher.
|
GrpcService |
getGrpcService()
The external authorization gRPC service configuration.
|
GrpcServiceOrBuilder |
getGrpcServiceOrBuilder()
The external authorization gRPC service configuration.
|
boolean |
getIncludePeerCertificate()
Specifies if the peer certificate is sent to the external service.
|
com.google.protobuf.Parser<ExtAuthz> |
getParserForType() |
int |
getSerializedSize() |
String |
getStatPrefix()
The prefix to use when emitting statistics.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
The prefix to use when emitting statistics.
|
ApiVersion |
getTransportApiVersion()
API version for ext_authz transport protocol.
|
int |
getTransportApiVersionValue()
API version for ext_authz transport protocol.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher.
|
boolean |
hasGrpcService()
The external authorization gRPC service configuration.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExtAuthz.Builder |
newBuilder() |
static ExtAuthz.Builder |
newBuilder(ExtAuthz prototype) |
ExtAuthz.Builder |
newBuilderForType() |
protected ExtAuthz.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ExtAuthz |
parseDelimitedFrom(InputStream input) |
static ExtAuthz |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(byte[] data) |
static ExtAuthz |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(ByteBuffer data) |
static ExtAuthz |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(com.google.protobuf.ByteString data) |
static ExtAuthz |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExtAuthz |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthz |
parseFrom(InputStream input) |
static ExtAuthz |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExtAuthz> |
parser() |
ExtAuthz.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STAT_PREFIX_FIELD_NUMBER
public static final int GRPC_SERVICE_FIELD_NUMBER
public static final int FAILURE_MODE_ALLOW_FIELD_NUMBER
public static final int INCLUDE_PEER_CERTIFICATE_FIELD_NUMBER
public static final int TRANSPORT_API_VERSION_FIELD_NUMBER
public static final int FILTER_ENABLED_METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getStatPrefix()
The prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }getStatPrefix in interface ExtAuthzOrBuilderpublic com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }getStatPrefixBytes in interface ExtAuthzOrBuilderpublic boolean hasGrpcService()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.config.core.v4alpha.GrpcService grpc_service = 2;hasGrpcService in interface ExtAuthzOrBuilderpublic GrpcService getGrpcService()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.config.core.v4alpha.GrpcService grpc_service = 2;getGrpcService in interface ExtAuthzOrBuilderpublic GrpcServiceOrBuilder getGrpcServiceOrBuilder()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.config.core.v4alpha.GrpcService grpc_service = 2;getGrpcServiceOrBuilder in interface ExtAuthzOrBuilderpublic 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;getFailureModeAllow in interface ExtAuthzOrBuilderpublic 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.v4alpha.AttributeContext.Peer.certificate>`.
bool include_peer_certificate = 4;getIncludePeerCertificate in interface ExtAuthzOrBuilderpublic int getTransportApiVersionValue()
API version for ext_authz transport protocol. This describes the ext_authz gRPC endpoint and
version of Check{Request,Response} used on the wire.
.envoy.config.core.v4alpha.ApiVersion transport_api_version = 5 [(.validate.rules) = { ... }getTransportApiVersionValue in interface ExtAuthzOrBuilderpublic ApiVersion getTransportApiVersion()
API version for ext_authz transport protocol. This describes the ext_authz gRPC endpoint and
version of Check{Request,Response} used on the wire.
.envoy.config.core.v4alpha.ApiVersion transport_api_version = 5 [(.validate.rules) = { ... }getTransportApiVersion in interface ExtAuthzOrBuilderpublic boolean hasFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher. If this field is not specified, the filter will be enabled for all requests.
.envoy.type.matcher.v4alpha.MetadataMatcher filter_enabled_metadata = 6;hasFilterEnabledMetadata in interface ExtAuthzOrBuilderpublic MetadataMatcher getFilterEnabledMetadata()
Specifies if the filter is enabled with metadata matcher. If this field is not specified, the filter will be enabled for all requests.
.envoy.type.matcher.v4alpha.MetadataMatcher filter_enabled_metadata = 6;getFilterEnabledMetadata in interface ExtAuthzOrBuilderpublic MetadataMatcherOrBuilder getFilterEnabledMetadataOrBuilder()
Specifies if the filter is enabled with metadata matcher. If this field is not specified, the filter will be enabled for all requests.
.envoy.type.matcher.v4alpha.MetadataMatcher filter_enabled_metadata = 6;getFilterEnabledMetadataOrBuilder in interface ExtAuthzOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ExtAuthz parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthz parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExtAuthz parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtAuthz parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExtAuthz parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExtAuthz parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExtAuthz.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExtAuthz.Builder newBuilder()
public static ExtAuthz.Builder newBuilder(ExtAuthz prototype)
public ExtAuthz.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExtAuthz.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExtAuthz getDefaultInstance()
public static com.google.protobuf.Parser<ExtAuthz> parser()
public com.google.protobuf.Parser<ExtAuthz> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExtAuthz getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.