public enum TLSmode extends Enum<TLSmode>
| Enum Constant and Description |
|---|
MUTUAL
Secure connections to the upstream using mutual TLS by presenting client certificates for authentication.
|
PASSTHROUGH
Forward the connection to the upstream server selected based on the SNI string presented by the client.
|
SIMPLE
Secure connections with standard TLS semantics.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static TLSmode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLSmode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLSmode PASSTHROUGH
public static final TLSmode SIMPLE
public static final TLSmode MUTUAL
public static TLSmode[] values()
for (TLSmode c : TLSmode.values()) System.out.println(c);
public static TLSmode 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 int value()
Copyright © 2017–2018 Red Hat. All rights reserved.