public static final class ExtAuthzOuterClass.ExtAuthz.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder> 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 | Method and Description |
|---|---|
ExtAuthzOuterClass.ExtAuthz.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExtAuthzOuterClass.ExtAuthz |
build() |
ExtAuthzOuterClass.ExtAuthz |
buildPartial() |
ExtAuthzOuterClass.ExtAuthz.Builder |
clear() |
ExtAuthzOuterClass.ExtAuthz.Builder |
clearFailureModeAllow()
The filter's behaviour in case the external authorization service does
not respond back.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExtAuthzOuterClass.ExtAuthz.Builder |
clearGrpcService()
The external authorization gRPC service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
clearHttpService()
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExtAuthzOuterClass.ExtAuthz.Builder |
clearServices() |
ExtAuthzOuterClass.ExtAuthz.Builder |
clone() |
ExtAuthzOuterClass.ExtAuthz |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.GrpcService.Builder |
getGrpcServiceBuilder()
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.HttpService.Builder |
getHttpServiceBuilder()
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.HttpServiceOrBuilder |
getHttpServiceOrBuilder()
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.ExtAuthz.ServicesCase |
getServicesCase() |
boolean |
hasGrpcService()
The external authorization gRPC service configuration.
|
boolean |
hasHttpService()
The external authorization HTTP service configuration.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExtAuthzOuterClass.ExtAuthz.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExtAuthzOuterClass.ExtAuthz.Builder |
mergeFrom(ExtAuthzOuterClass.ExtAuthz other) |
ExtAuthzOuterClass.ExtAuthz.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExtAuthzOuterClass.ExtAuthz.Builder |
mergeGrpcService(GrpcServiceOuterClass.GrpcService value)
The external authorization gRPC service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
mergeHttpService(ExtAuthzOuterClass.HttpService value)
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExtAuthzOuterClass.ExtAuthz.Builder |
setFailureModeAllow(boolean value)
The filter's behaviour in case the external authorization service does
not respond back.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExtAuthzOuterClass.ExtAuthz.Builder |
setGrpcService(GrpcServiceOuterClass.GrpcService.Builder builderForValue)
The external authorization gRPC service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
setGrpcService(GrpcServiceOuterClass.GrpcService value)
The external authorization gRPC service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
setHttpService(ExtAuthzOuterClass.HttpService.Builder builderForValue)
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
setHttpService(ExtAuthzOuterClass.HttpService value)
The external authorization HTTP service configuration.
|
ExtAuthzOuterClass.ExtAuthz.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExtAuthzOuterClass.ExtAuthz.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExtAuthzOuterClass.ExtAuthz build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExtAuthzOuterClass.ExtAuthz buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExtAuthzOuterClass.ExtAuthz.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder mergeFrom(ExtAuthzOuterClass.ExtAuthz other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public ExtAuthzOuterClass.ExtAuthz.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>IOExceptionpublic ExtAuthzOuterClass.ExtAuthz.ServicesCase getServicesCase()
getServicesCase in interface ExtAuthzOuterClass.ExtAuthzOrBuilderpublic ExtAuthzOuterClass.ExtAuthz.Builder clearServices()
public 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 ExtAuthzOuterClass.ExtAuthz.Builder setGrpcService(GrpcServiceOuterClass.GrpcService value)
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 1;public ExtAuthzOuterClass.ExtAuthz.Builder setGrpcService(GrpcServiceOuterClass.GrpcService.Builder builderForValue)
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 1;public ExtAuthzOuterClass.ExtAuthz.Builder mergeGrpcService(GrpcServiceOuterClass.GrpcService value)
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 1;public ExtAuthzOuterClass.ExtAuthz.Builder clearGrpcService()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 1;public GrpcServiceOuterClass.GrpcService.Builder getGrpcServiceBuilder()
The external authorization gRPC service configuration. The default timeout is set to 200ms by this filter.
.envoy.api.v2.core.GrpcService grpc_service = 1;public 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.ExtAuthz.Builder setHttpService(ExtAuthzOuterClass.HttpService value)
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;public ExtAuthzOuterClass.ExtAuthz.Builder setHttpService(ExtAuthzOuterClass.HttpService.Builder builderForValue)
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;public ExtAuthzOuterClass.ExtAuthz.Builder mergeHttpService(ExtAuthzOuterClass.HttpService value)
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;public ExtAuthzOuterClass.ExtAuthz.Builder clearHttpService()
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;public ExtAuthzOuterClass.HttpService.Builder getHttpServiceBuilder()
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;public 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 ExtAuthzOuterClass.ExtAuthz.Builder setFailureModeAllow(boolean value)
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;public ExtAuthzOuterClass.ExtAuthz.Builder clearFailureModeAllow()
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;public final ExtAuthzOuterClass.ExtAuthz.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>public final ExtAuthzOuterClass.ExtAuthz.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.ExtAuthz.Builder>Copyright © 2018 The Envoy Project. All rights reserved.