public enum AuthenticationPolicy extends Enum<AuthenticationPolicy>
INHERIT value will be used.
Mesh policy cannot be INHERIT.| Enum Constant and Description |
|---|
INHERIT
Use the policy defined by the parent scope.
|
MUTUAL_TLS
Envoy to Envoy traffic is wrapped into mutual TLS connections.
|
NONE
Do not encrypt Envoy to Envoy traffic.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static AuthenticationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationPolicy NONE
public static final AuthenticationPolicy MUTUAL_TLS
public static final AuthenticationPolicy INHERIT
public static AuthenticationPolicy[] values()
for (AuthenticationPolicy c : AuthenticationPolicy.values()) System.out.println(c);
public static AuthenticationPolicy 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.