aboutsummaryrefslogtreecommitdiffstats
path: root/jrt/src/com/yahoo/jrt/Target.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/Target.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/Target.java')
-rw-r--r--jrt/src/com/yahoo/jrt/Target.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/jrt/src/com/yahoo/jrt/Target.java b/jrt/src/com/yahoo/jrt/Target.java
index a59aa341fe0..239a71f53b3 100644
--- a/jrt/src/com/yahoo/jrt/Target.java
+++ b/jrt/src/com/yahoo/jrt/Target.java
@@ -1,6 +1,8 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jrt;
+import com.yahoo.security.tls.authz.ConnectionAuthContext;
+
import java.util.Optional;
/**
@@ -69,9 +71,9 @@ public abstract class Target {
public Exception getConnectionLostReason() { return null; }
/**
- * Returns the security context associated with this target, or empty if no connection or is insecure.
+ * Returns the connection auth context associated with this target, or empty if no connection or is insecure.
*/
- public abstract Optional<SecurityContext> getSecurityContext();
+ public abstract Optional<ConnectionAuthContext> getConnectionAuthContext();
/**
* Check if this target represents the client side of a