aboutsummaryrefslogtreecommitdiffstats
path: root/jrt/src/com/yahoo/jrt/SecurityContext.java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2022-07-19 14:30:27 +0200
committerGitHub <noreply@github.com>2022-07-19 14:30:27 +0200
commit46ba1b00aa19e937e2c257b34c23417adeef56eb (patch)
tree7e595f7ca0c17bc74b07c18472f4cd2d4f57c4d4 /jrt/src/com/yahoo/jrt/SecurityContext.java
parent8be6dd28753425126507b68c93a24607124871eb (diff)
parent529a26d7e1062a006196366454f1a047ca31202c (diff)
Merge pull request #23496 from vespa-engine/bjorncs/capabilitiesv8.21.11
Bjorncs/capabilities
Diffstat (limited to 'jrt/src/com/yahoo/jrt/SecurityContext.java')
-rw-r--r--jrt/src/com/yahoo/jrt/SecurityContext.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/jrt/src/com/yahoo/jrt/SecurityContext.java b/jrt/src/com/yahoo/jrt/SecurityContext.java
deleted file mode 100644
index 4eef99cb93f..00000000000
--- a/jrt/src/com/yahoo/jrt/SecurityContext.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.jrt;
-
-import java.security.cert.X509Certificate;
-import java.util.List;
-
-/**
- * @author bjorncs
- */
-public class SecurityContext {
-
- private final List<X509Certificate> peerCertificateChain;
-
- public SecurityContext(List<X509Certificate> peerCertificateChain) {
- this.peerCertificateChain = peerCertificateChain;
- }
-
- /**
- * @return the peer certificate chain if the peer was authenticated, empty list if not.
- */
- public List<X509Certificate> peerCertificateChain() {
- return peerCertificateChain;
- }
-}