Enum ForwardClientCertDetails
- java.lang.Object
-
- java.lang.Enum<ForwardClientCertDetails>
-
- me.snowdrop.istio.api.mesh.v1alpha1.ForwardClientCertDetails
-
- All Implemented Interfaces:
Serializable,Comparable<ForwardClientCertDetails>
public enum ForwardClientCertDetails extends Enum<ForwardClientCertDetails>
- Author:
- Christophe Laprun
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_FORWARD_ONLYAlways forward the XFCC header in the request, regardless of whether the client connection is mTLS.APPEND_FORWARDWhen the client connection is mTLS, append the client certificate information to the request’s XFCC header and forward it.FORWARD_ONLYWhen the client connection is mTLS (Mutual TLS), forward the XFCC header in the request.SANITIZEDo not send the XFCC header to the next hop.SANITIZE_SETWhen the client connection is mTLS, reset the XFCC header with the client certificate information and send it to the next hop.UNDEFINEDField is not set
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intvalue()static ForwardClientCertDetailsvalueOf(String name)Returns the enum constant of this type with the specified name.static ForwardClientCertDetails[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final ForwardClientCertDetails UNDEFINED
Field is not set
-
SANITIZE
public static final ForwardClientCertDetails SANITIZE
Do not send the XFCC header to the next hop. This is the default value.
-
FORWARD_ONLY
public static final ForwardClientCertDetails FORWARD_ONLY
When the client connection is mTLS (Mutual TLS), forward the XFCC header in the request.
-
APPEND_FORWARD
public static final ForwardClientCertDetails APPEND_FORWARD
When the client connection is mTLS, append the client certificate information to the request’s XFCC header and forward it.
-
SANITIZE_SET
public static final 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.
-
ALWAYS_FORWARD_ONLY
public static final ForwardClientCertDetails ALWAYS_FORWARD_ONLY
Always forward the XFCC header in the request, regardless of whether the client connection is mTLS.
-
-
Method Detail
-
values
public static ForwardClientCertDetails[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ForwardClientCertDetails c : ForwardClientCertDetails.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForwardClientCertDetails valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value()
-
-