public static final class ExtAuthzOuterClass.ExtAuthz extends com.google.protobuf.GeneratedMessageV3 implements ExtAuthzOuterClass.ExtAuthzOrBuilder
External Authorization filter calls out to an external service over either:
1. gRPC Authorization API defined by :ref:`CheckRequest
<envoy_api_msg_service.auth.v2alpha.CheckRequest>`.
2. Raw HTTP Authorization server by passing the request headers to the service.
A failed check will cause this filter to close the HTTP request normally with 403 (Forbidden),
unless a different status code has been indicated in the authorization response.
Protobuf type envoy.config.filter.http.ext_authz.v2alpha.ExtAuthz| Modifier and Type | Class and Description |
|---|---|
static class |
ExtAuthzOuterClass.ExtAuthz.Builder
External Authorization filter calls out to an external service over either:
1. gRPC Authorization API defined by :ref:`CheckRequest
<envoy_api_msg_service.auth.v2alpha.CheckRequest>`.
2.
|
static class |
ExtAuthzOuterClass.ExtAuthz.ServicesCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
FAILURE_MODE_ALLOW_FIELD_NUMBER |
static int |
GRPC_SERVICE_FIELD_NUMBER |
static int |
HTTP_SERVICE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ExtAuthzOuterClass.ExtAuthz |
getDefaultInstance() |
ExtAuthzOuterClass.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.
|
GrpcServiceOuterClass.GrpcService |
getGrpcService()
The external authorization gRPC service configuration.
|
GrpcServiceOuterClass.GrpcServiceOrBuilder |
getGrpcServiceOrBuilder()
The external authorization gRPC service configuration.
|
ExtAuthzOuterClass.HttpService |
getHttpService()
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.HttpServiceOrBuilder |
getHttpServiceOrBuilder()
The external authorization HTTP service configuration.
|
com.google.protobuf.Parser<ExtAuthzOuterClass.ExtAuthz> |
getParserForType() |
int |
getSerializedSize() |
ExtAuthzOuterClass.ExtAuthz.ServicesCase |
getServicesCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGrpcService()
The external authorization gRPC service configuration.
|
int |
hashCode() |
boolean |
hasHttpService()
The external authorization HTTP service configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ExtAuthzOuterClass.ExtAuthz.Builder |
newBuilder() |
static ExtAuthzOuterClass.ExtAuthz.Builder |
newBuilder(ExtAuthzOuterClass.ExtAuthz prototype) |
ExtAuthzOuterClass.ExtAuthz.Builder |
newBuilderForType() |
protected ExtAuthzOuterClass.ExtAuthz.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ExtAuthzOuterClass.ExtAuthz |
parseDelimitedFrom(InputStream input) |
static ExtAuthzOuterClass.ExtAuthz |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(byte[] data) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(ByteBuffer data) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(com.google.protobuf.ByteString data) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(InputStream input) |
static ExtAuthzOuterClass.ExtAuthz |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ExtAuthzOuterClass.ExtAuthz> |
parser() |
ExtAuthzOuterClass.ExtAuthz.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 GRPC_SERVICE_FIELD_NUMBER
public static final int HTTP_SERVICE_FIELD_NUMBER
public static final int FAILURE_MODE_ALLOW_FIELD_NUMBER
public 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 ExtAuthzOuterClass.ExtAuthz.ServicesCase getServicesCase()
getServicesCase in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic 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 = 1;hasGrpcService in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic GrpcServiceOuterClass.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 = 1;getGrpcService in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic GrpcServiceOuterClass.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 = 1;getGrpcServiceOrBuilder in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic boolean hasHttpService()
The external authorization HTTP service configuration. The default timeout is set to 200ms by this filter.
.envoy.config.filter.http.ext_authz.v2alpha.HttpService http_service = 3;hasHttpService in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic ExtAuthzOuterClass.HttpService getHttpService()
The external authorization HTTP service configuration. The default timeout is set to 200ms by this filter.
.envoy.config.filter.http.ext_authz.v2alpha.HttpService http_service = 3;getHttpService in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic ExtAuthzOuterClass.HttpServiceOrBuilder getHttpServiceOrBuilder()
The external authorization HTTP service configuration. The default timeout is set to 200ms by this filter.
.envoy.config.filter.http.ext_authz.v2alpha.HttpService http_service = 3;getHttpServiceOrBuilder in interface ExtAuthzOuterClass.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 an error occurs during the authorization process. Defaults to false.
bool failure_mode_allow = 2;getFailureModeAllow in interface ExtAuthzOuterClass.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 ExtAuthzOuterClass.ExtAuthz parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(InputStream input) throws IOException
IOExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ExtAuthzOuterClass.ExtAuthz parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ExtAuthzOuterClass.ExtAuthz.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ExtAuthzOuterClass.ExtAuthz.Builder newBuilder()
public static ExtAuthzOuterClass.ExtAuthz.Builder newBuilder(ExtAuthzOuterClass.ExtAuthz prototype)
public ExtAuthzOuterClass.ExtAuthz.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ExtAuthzOuterClass.ExtAuthz.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ExtAuthzOuterClass.ExtAuthz getDefaultInstance()
public static com.google.protobuf.Parser<ExtAuthzOuterClass.ExtAuthz> parser()
public com.google.protobuf.Parser<ExtAuthzOuterClass.ExtAuthz> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ExtAuthzOuterClass.ExtAuthz getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.