public static final class ExtAuthzOuterClass.HttpService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.HttpService.Builder> implements ExtAuthzOuterClass.HttpServiceOrBuilder
External Authorization filter calls out to an upstream authorization server by passing the raw
HTTP request headers to the server. This allows the authorization service to take a decision
whether the request is authorized or not.
A successful check allows the authorization service adding or overriding headers from the
original request before dispatching it to the upstream. This is done by configuring which headers
in the authorization response should be sent to the upstream. See *allowed_authorization_headers*
bellow.
A failed check will cause this filter to close the HTTP request with 403 (Forbidden),
unless a different status code has been indicated by the authorization server via response
headers.
If an error happens during the checking process, two situations may occur depending on the
filter's configuration:
1. When *failure_mode_allow* is true, traffic will be allowed in the presence of an error. This
includes any of the HTTP 5xx errors, or a communication failure between the filter and the
authorization server.
2. When *failure_mode_allow* is false, the filter will *always* return a *Forbidden response* to
the client. It will *not allow* traffic to the upstream in the presence of an error. This
includes any of the HTTP 5xx errors, or a communication failure between the filter and the
authorization server.
Note that filter will produce stats on error. See *Statistics* at :ref:`configuration overview
<config_http_filters_ext_authz>`.
Protobuf type envoy.config.filter.http.ext_authz.v2alpha.HttpService| Modifier and Type | Method and Description |
|---|---|
ExtAuthzOuterClass.HttpService.Builder |
addAllAllowedAuthorizationHeaders(Iterable<String> values)
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
ExtAuthzOuterClass.HttpService.Builder |
addAllAllowedRequestHeaders(Iterable<String> values)
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
ExtAuthzOuterClass.HttpService.Builder |
addAllAuthorizationHeadersToAdd(Iterable<? extends Base.HeaderValue> values)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
addAllowedAuthorizationHeaders(String value)
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
ExtAuthzOuterClass.HttpService.Builder |
addAllowedAuthorizationHeadersBytes(com.google.protobuf.ByteString value)
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
ExtAuthzOuterClass.HttpService.Builder |
addAllowedRequestHeaders(String value)
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
ExtAuthzOuterClass.HttpService.Builder |
addAllowedRequestHeadersBytes(com.google.protobuf.ByteString value)
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
ExtAuthzOuterClass.HttpService.Builder |
addAuthorizationHeadersToAdd(Base.HeaderValue.Builder builderForValue)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
addAuthorizationHeadersToAdd(Base.HeaderValue value)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
addAuthorizationHeadersToAdd(int index,
Base.HeaderValue.Builder builderForValue)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
addAuthorizationHeadersToAdd(int index,
Base.HeaderValue value)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
Base.HeaderValue.Builder |
addAuthorizationHeadersToAddBuilder()
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
Base.HeaderValue.Builder |
addAuthorizationHeadersToAddBuilder(int index)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExtAuthzOuterClass.HttpService |
build() |
ExtAuthzOuterClass.HttpService |
buildPartial() |
ExtAuthzOuterClass.HttpService.Builder |
clear() |
ExtAuthzOuterClass.HttpService.Builder |
clearAllowedAuthorizationHeaders()
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
ExtAuthzOuterClass.HttpService.Builder |
clearAllowedRequestHeaders()
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
ExtAuthzOuterClass.HttpService.Builder |
clearAuthorizationHeadersToAdd()
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExtAuthzOuterClass.HttpService.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExtAuthzOuterClass.HttpService.Builder |
clearPathPrefix()
Sets an optional prefix to the value of authorization request header *Path*.
|
ExtAuthzOuterClass.HttpService.Builder |
clearServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
ExtAuthzOuterClass.HttpService.Builder |
clone() |
String |
getAllowedAuthorizationHeaders(int index)
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
com.google.protobuf.ByteString |
getAllowedAuthorizationHeadersBytes(int index)
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
int |
getAllowedAuthorizationHeadersCount()
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
com.google.protobuf.ProtocolStringList |
getAllowedAuthorizationHeadersList()
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
String |
getAllowedRequestHeaders(int index)
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
com.google.protobuf.ByteString |
getAllowedRequestHeadersBytes(int index)
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
int |
getAllowedRequestHeadersCount()
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
com.google.protobuf.ProtocolStringList |
getAllowedRequestHeadersList()
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
Base.HeaderValue |
getAuthorizationHeadersToAdd(int index)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
Base.HeaderValue.Builder |
getAuthorizationHeadersToAddBuilder(int index)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
List<Base.HeaderValue.Builder> |
getAuthorizationHeadersToAddBuilderList()
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
int |
getAuthorizationHeadersToAddCount()
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
List<Base.HeaderValue> |
getAuthorizationHeadersToAddList()
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
Base.HeaderValueOrBuilder |
getAuthorizationHeadersToAddOrBuilder(int index)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
List<? extends Base.HeaderValueOrBuilder> |
getAuthorizationHeadersToAddOrBuilderList()
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPathPrefix()
Sets an optional prefix to the value of authorization request header *Path*.
|
com.google.protobuf.ByteString |
getPathPrefixBytes()
Sets an optional prefix to the value of authorization request header *Path*.
|
HttpUriOuterClass.HttpUri |
getServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpUriOuterClass.HttpUri.Builder |
getServerUriBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
|
HttpUriOuterClass.HttpUriOrBuilder |
getServerUriOrBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
|
boolean |
hasServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExtAuthzOuterClass.HttpService.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExtAuthzOuterClass.HttpService.Builder |
mergeFrom(ExtAuthzOuterClass.HttpService other) |
ExtAuthzOuterClass.HttpService.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExtAuthzOuterClass.HttpService.Builder |
mergeServerUri(HttpUriOuterClass.HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
|
ExtAuthzOuterClass.HttpService.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExtAuthzOuterClass.HttpService.Builder |
removeAuthorizationHeadersToAdd(int index)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
setAllowedAuthorizationHeaders(int index,
String value)
Sets a list of headers that can be sent from the authorization server to the upstream service,
or to the downstream client when present in the authorization response.
|
ExtAuthzOuterClass.HttpService.Builder |
setAllowedRequestHeaders(int index,
String value)
Sets a list of headers that should be sent *from the filter* to the authorization server
when they are also present in the client request.
|
ExtAuthzOuterClass.HttpService.Builder |
setAuthorizationHeadersToAdd(int index,
Base.HeaderValue.Builder builderForValue)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
setAuthorizationHeadersToAdd(int index,
Base.HeaderValue value)
Sets a list of headers and their values that will be added to the request to external
authorization server.
|
ExtAuthzOuterClass.HttpService.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExtAuthzOuterClass.HttpService.Builder |
setPathPrefix(String value)
Sets an optional prefix to the value of authorization request header *Path*.
|
ExtAuthzOuterClass.HttpService.Builder |
setPathPrefixBytes(com.google.protobuf.ByteString value)
Sets an optional prefix to the value of authorization request header *Path*.
|
ExtAuthzOuterClass.HttpService.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExtAuthzOuterClass.HttpService.Builder |
setServerUri(HttpUriOuterClass.HttpUri.Builder builderForValue)
Sets the HTTP server URI which the authorization requests must be sent to.
|
ExtAuthzOuterClass.HttpService.Builder |
setServerUri(HttpUriOuterClass.HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
|
ExtAuthzOuterClass.HttpService.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.HttpService.Builder>public ExtAuthzOuterClass.HttpService.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.HttpService.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.HttpService.Builder>public ExtAuthzOuterClass.HttpService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExtAuthzOuterClass.HttpService build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExtAuthzOuterClass.HttpService buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExtAuthzOuterClass.HttpService.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.HttpService.Builder>public ExtAuthzOuterClass.HttpService.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.HttpService.Builder>public ExtAuthzOuterClass.HttpService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.HttpService.Builder>public ExtAuthzOuterClass.HttpService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.HttpService.Builder>public ExtAuthzOuterClass.HttpService.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.HttpService.Builder>public ExtAuthzOuterClass.HttpService.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.HttpService.Builder>public ExtAuthzOuterClass.HttpService.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExtAuthzOuterClass.HttpService.Builder>public ExtAuthzOuterClass.HttpService.Builder mergeFrom(ExtAuthzOuterClass.HttpService other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.HttpService.Builder>public ExtAuthzOuterClass.HttpService.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.HttpService.Builder>IOExceptionpublic boolean hasServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;hasServerUri in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic HttpUriOuterClass.HttpUri getServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;getServerUri in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic ExtAuthzOuterClass.HttpService.Builder setServerUri(HttpUriOuterClass.HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;public ExtAuthzOuterClass.HttpService.Builder setServerUri(HttpUriOuterClass.HttpUri.Builder builderForValue)
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;public ExtAuthzOuterClass.HttpService.Builder mergeServerUri(HttpUriOuterClass.HttpUri value)
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;public ExtAuthzOuterClass.HttpService.Builder clearServerUri()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;public HttpUriOuterClass.HttpUri.Builder getServerUriBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;public HttpUriOuterClass.HttpUriOrBuilder getServerUriOrBuilder()
Sets the HTTP server URI which the authorization requests must be sent to.
.envoy.api.v2.core.HttpUri server_uri = 1;getServerUriOrBuilder in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic String getPathPrefix()
Sets an optional prefix to the value of authorization request header *Path*.
string path_prefix = 2;getPathPrefix in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic com.google.protobuf.ByteString getPathPrefixBytes()
Sets an optional prefix to the value of authorization request header *Path*.
string path_prefix = 2;getPathPrefixBytes in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic ExtAuthzOuterClass.HttpService.Builder setPathPrefix(String value)
Sets an optional prefix to the value of authorization request header *Path*.
string path_prefix = 2;public ExtAuthzOuterClass.HttpService.Builder clearPathPrefix()
Sets an optional prefix to the value of authorization request header *Path*.
string path_prefix = 2;public ExtAuthzOuterClass.HttpService.Builder setPathPrefixBytes(com.google.protobuf.ByteString value)
Sets an optional prefix to the value of authorization request header *Path*.
string path_prefix = 2;public com.google.protobuf.ProtocolStringList getAllowedAuthorizationHeadersList()
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;getAllowedAuthorizationHeadersList in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic int getAllowedAuthorizationHeadersCount()
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;getAllowedAuthorizationHeadersCount in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic String getAllowedAuthorizationHeaders(int index)
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;getAllowedAuthorizationHeaders in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic com.google.protobuf.ByteString getAllowedAuthorizationHeadersBytes(int index)
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;getAllowedAuthorizationHeadersBytes in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic ExtAuthzOuterClass.HttpService.Builder setAllowedAuthorizationHeaders(int index, String value)
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;public ExtAuthzOuterClass.HttpService.Builder addAllowedAuthorizationHeaders(String value)
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;public ExtAuthzOuterClass.HttpService.Builder addAllAllowedAuthorizationHeaders(Iterable<String> values)
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;public ExtAuthzOuterClass.HttpService.Builder clearAllowedAuthorizationHeaders()
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;public ExtAuthzOuterClass.HttpService.Builder addAllowedAuthorizationHeadersBytes(com.google.protobuf.ByteString value)
Sets a list of headers that can be sent from the authorization server to the upstream service, or to the downstream client when present in the authorization response. Note that a matched request header will have its value overridden by the ones sent from the authorization server.
repeated string allowed_authorization_headers = 4;public com.google.protobuf.ProtocolStringList getAllowedRequestHeadersList()
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;getAllowedRequestHeadersList in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic int getAllowedRequestHeadersCount()
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;getAllowedRequestHeadersCount in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic String getAllowedRequestHeaders(int index)
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;getAllowedRequestHeaders in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic com.google.protobuf.ByteString getAllowedRequestHeadersBytes(int index)
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;getAllowedRequestHeadersBytes in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic ExtAuthzOuterClass.HttpService.Builder setAllowedRequestHeaders(int index, String value)
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;public ExtAuthzOuterClass.HttpService.Builder addAllowedRequestHeaders(String value)
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;public ExtAuthzOuterClass.HttpService.Builder addAllAllowedRequestHeaders(Iterable<String> values)
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;public ExtAuthzOuterClass.HttpService.Builder clearAllowedRequestHeaders()
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;public ExtAuthzOuterClass.HttpService.Builder addAllowedRequestHeadersBytes(com.google.protobuf.ByteString value)
Sets a list of headers that should be sent *from the filter* to the authorization server when they are also present in the client request. Note that *Content-Length*, *Authority*, *Method* and *Path* are always dispatched to the authorization server by default. The message will not contain body data and the *Content-Length* will be set to zero.
repeated string allowed_request_headers = 5;public List<Base.HeaderValue> getAuthorizationHeadersToAddList()
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;getAuthorizationHeadersToAddList in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic int getAuthorizationHeadersToAddCount()
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;getAuthorizationHeadersToAddCount in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic Base.HeaderValue getAuthorizationHeadersToAdd(int index)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;getAuthorizationHeadersToAdd in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic ExtAuthzOuterClass.HttpService.Builder setAuthorizationHeadersToAdd(int index, Base.HeaderValue value)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder setAuthorizationHeadersToAdd(int index, Base.HeaderValue.Builder builderForValue)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder addAuthorizationHeadersToAdd(Base.HeaderValue value)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder addAuthorizationHeadersToAdd(int index, Base.HeaderValue value)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder addAuthorizationHeadersToAdd(Base.HeaderValue.Builder builderForValue)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder addAuthorizationHeadersToAdd(int index, Base.HeaderValue.Builder builderForValue)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder addAllAuthorizationHeadersToAdd(Iterable<? extends Base.HeaderValue> values)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder clearAuthorizationHeadersToAdd()
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public ExtAuthzOuterClass.HttpService.Builder removeAuthorizationHeadersToAdd(int index)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public Base.HeaderValue.Builder getAuthorizationHeadersToAddBuilder(int index)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public Base.HeaderValueOrBuilder getAuthorizationHeadersToAddOrBuilder(int index)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;getAuthorizationHeadersToAddOrBuilder in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic List<? extends Base.HeaderValueOrBuilder> getAuthorizationHeadersToAddOrBuilderList()
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;getAuthorizationHeadersToAddOrBuilderList in interface ExtAuthzOuterClass.HttpServiceOrBuilderpublic Base.HeaderValue.Builder addAuthorizationHeadersToAddBuilder()
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public Base.HeaderValue.Builder addAuthorizationHeadersToAddBuilder(int index)
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public List<Base.HeaderValue.Builder> getAuthorizationHeadersToAddBuilderList()
Sets a list of headers and their values that will be added to the request to external authorization server. Note that these will override the headers coming from the downstream.
repeated .envoy.api.v2.core.HeaderValue authorization_headers_to_add = 6;public final ExtAuthzOuterClass.HttpService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.HttpService.Builder>public final ExtAuthzOuterClass.HttpService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExtAuthzOuterClass.HttpService.Builder>Copyright © 2018 The Envoy Project. All rights reserved.