summaryrefslogtreecommitdiffstats
path: root/flags
diff options
context:
space:
mode:
authorMorten Tokle <mortent@verizonmedia.com>2021-04-23 13:10:23 +0200
committerMorten Tokle <mortent@verizonmedia.com>2021-04-23 13:10:23 +0200
commit32e1315bc079a6391757819e8fcff8b01821cc87 (patch)
tree333ee9f3b009883609fe23fc40e3d315a0793e3a /flags
parent2d89d3298b442be57fe00433e1958f05f9cfa2e6 (diff)
Flag to allow disabling mtls
Diffstat (limited to 'flags')
-rw-r--r--flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
index b7b5398b6b7..37f688ff8d4 100644
--- a/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
+++ b/flags/src/main/java/com/yahoo/vespa/flags/PermanentFlags.java
@@ -151,6 +151,12 @@ public class PermanentFlags {
"Takes effect immediately"
);
+ public static final UnboundBooleanFlag ALLOW_DISABLE_MTLS = defineFeatureFlag(
+ "allow-disable-mtls", false,
+ "Allow application to disable client authentication",
+ "Takes effect on redeployment",
+ APPLICATION_ID);
+
private PermanentFlags() {}
private static UnboundBooleanFlag defineFeatureFlag(