public static enum HttpConnectionManager.ForwardClientCertDetails extends Enum<HttpConnectionManager.ForwardClientCertDetails> implements com.google.protobuf.ProtocolMessageEnum
How to handle the :ref:`config_http_conn_man_headers_x-forwarded-client-cert` (XFCC) HTTP header.Protobuf enum
envoy.extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.ForwardClientCertDetails| Enum Constant and Description |
|---|
ALWAYS_FORWARD_ONLY
Always forward the XFCC header in the request, regardless of whether the
client connection is mTLS.
|
APPEND_FORWARD
When the client connection is mTLS, append the client certificate
information to the request’s XFCC header and forward it.
|
FORWARD_ONLY
When the client connection is mTLS (Mutual TLS), forward the XFCC header
in the request.
|
SANITIZE
Do not send the XFCC header to the next hop.
|
SANITIZE_SET
When the client connection is mTLS, reset the XFCC header with the client
certificate information and send it to the next hop.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS_FORWARD_ONLY_VALUE
Always forward the XFCC header in the request, regardless of whether the
client connection is mTLS.
|
static int |
APPEND_FORWARD_VALUE
When the client connection is mTLS, append the client certificate
information to the request’s XFCC header and forward it.
|
static int |
FORWARD_ONLY_VALUE
When the client connection is mTLS (Mutual TLS), forward the XFCC header
in the request.
|
static int |
SANITIZE_SET_VALUE
When the client connection is mTLS, reset the XFCC header with the client
certificate information and send it to the next hop.
|
static int |
SANITIZE_VALUE
Do not send the XFCC header to the next hop.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpConnectionManager.ForwardClientCertDetails |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<HttpConnectionManager.ForwardClientCertDetails> |
internalGetValueMap() |
static HttpConnectionManager.ForwardClientCertDetails |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HttpConnectionManager.ForwardClientCertDetails |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HttpConnectionManager.ForwardClientCertDetails |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpConnectionManager.ForwardClientCertDetails[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpConnectionManager.ForwardClientCertDetails SANITIZE
Do not send the XFCC header to the next hop. This is the default value.
SANITIZE = 0;public static final HttpConnectionManager.ForwardClientCertDetails FORWARD_ONLY
When the client connection is mTLS (Mutual TLS), forward the XFCC header in the request.
FORWARD_ONLY = 1;public static final HttpConnectionManager.ForwardClientCertDetails APPEND_FORWARD
When the client connection is mTLS, append the client certificate information to the request’s XFCC header and forward it.
APPEND_FORWARD = 2;public static final HttpConnectionManager.ForwardClientCertDetails SANITIZE_SET
When the client connection is mTLS, reset the XFCC header with the client certificate information and send it to the next hop.
SANITIZE_SET = 3;public static final HttpConnectionManager.ForwardClientCertDetails ALWAYS_FORWARD_ONLY
Always forward the XFCC header in the request, regardless of whether the client connection is mTLS.
ALWAYS_FORWARD_ONLY = 4;public static final HttpConnectionManager.ForwardClientCertDetails UNRECOGNIZED
public static final int SANITIZE_VALUE
Do not send the XFCC header to the next hop. This is the default value.
SANITIZE = 0;public static final int FORWARD_ONLY_VALUE
When the client connection is mTLS (Mutual TLS), forward the XFCC header in the request.
FORWARD_ONLY = 1;public static final int APPEND_FORWARD_VALUE
When the client connection is mTLS, append the client certificate information to the request’s XFCC header and forward it.
APPEND_FORWARD = 2;public static final int SANITIZE_SET_VALUE
When the client connection is mTLS, reset the XFCC header with the client certificate information and send it to the next hop.
SANITIZE_SET = 3;public static final int ALWAYS_FORWARD_ONLY_VALUE
Always forward the XFCC header in the request, regardless of whether the client connection is mTLS.
ALWAYS_FORWARD_ONLY = 4;public static HttpConnectionManager.ForwardClientCertDetails[] values()
for (HttpConnectionManager.ForwardClientCertDetails c : HttpConnectionManager.ForwardClientCertDetails.values()) System.out.println(c);
public static HttpConnectionManager.ForwardClientCertDetails valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static HttpConnectionManager.ForwardClientCertDetails valueOf(int value)
forNumber(int) instead.public static HttpConnectionManager.ForwardClientCertDetails forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HttpConnectionManager.ForwardClientCertDetails> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HttpConnectionManager.ForwardClientCertDetails valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.