Enum ServerTLSSettingsMode

    • Enum Constant Detail

      • PASSTHROUGH

        public static final ServerTLSSettingsMode PASSTHROUGH
        The SNI string presented by the client will be used as the match criterion in a VirtualService TLS route to determine the destination service from the service registry.
      • SIMPLE

        public static final ServerTLSSettingsMode SIMPLE
        Secure connections with standard TLS semantics.
      • MUTUAL

        public static final ServerTLSSettingsMode MUTUAL
        Secure connections to the downstream using mutual TLS by presenting server certificates for authentication.
      • AUTO_PASSTHROUGH

        public static final ServerTLSSettingsMode AUTO_PASSTHROUGH
        Similar to the passthrough mode, except servers with this TLS mode do not require an associated VirtualService to map from the SNI value to service in the registry. The destination details such as the service/subset/port are encoded in the SNI value. The proxy will forward to the upstream (Envoy) cluster (a group of endpoints) specified by the SNI value. This server is typically used to provide connectivity between services in disparate L3 networks that otherwise do not have direct connectivity between their respective endpoints. Use of this mode assumes that both the source and the destination are using Istio mTLS to secure traffic.
      • ISTIO_MUTUAL

        public static final ServerTLSSettingsMode ISTIO_MUTUAL
        Secure connections from the downstream using mutual TLS by presenting server certificates for authentication. Compared to Mutual mode, this mode uses certificates, representing gateway workload identity, generated automatically by Istio for mTLS authentication. When this mode is used, all other fields in `TLSOptions` should be empty.
    • Method Detail

      • values

        public static ServerTLSSettingsMode[] 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 (ServerTLSSettingsMode c : ServerTLSSettingsMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServerTLSSettingsMode 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 name
        NullPointerException - if the argument is null
      • value

        public int value()