aboutsummaryrefslogtreecommitdiffstats
path: root/security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2019-07-03 13:39:47 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2019-07-03 15:15:56 +0200
commitfac5a80821f78cee3217b71c28ea2ddd5bc38841 (patch)
treec2760f6ee5974ee4ed08f9aad21d32e3d600e042 /security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java
parente79a7e85d8f79e2cbf1495a6da468b3009ea4d2c (diff)
Make peer authentication in TlsContext configurable
Diffstat (limited to 'security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java')
-rw-r--r--security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java b/security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java
new file mode 100644
index 00000000000..9aa7b642b4a
--- /dev/null
+++ b/security-utils/src/main/java/com/yahoo/security/tls/PeerAuthentication.java
@@ -0,0 +1,9 @@
+// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.security.tls;
+
+/**
+ * @author bjorncs
+ */
+public enum PeerAuthentication {
+ WANT, NEED, DISABLED
+}