summaryrefslogtreecommitdiffstats
path: root/hosted-api
diff options
context:
space:
mode:
Diffstat (limited to 'hosted-api')
-rw-r--r--hosted-api/src/main/java/ai/vespa/hosted/api/EndpointAuthenticator.java (renamed from hosted-api/src/main/java/ai/vespa/hosted/api/Authenticator.java)6
1 files changed, 4 insertions, 2 deletions
diff --git a/hosted-api/src/main/java/ai/vespa/hosted/api/Authenticator.java b/hosted-api/src/main/java/ai/vespa/hosted/api/EndpointAuthenticator.java
index aaff0bfe5e0..20e3b18eb56 100644
--- a/hosted-api/src/main/java/ai/vespa/hosted/api/Authenticator.java
+++ b/hosted-api/src/main/java/ai/vespa/hosted/api/EndpointAuthenticator.java
@@ -8,11 +8,13 @@ import java.util.Optional;
/**
* Adds environment dependent authentication to HTTP request against Vespa deployments.
*
- * An implementation typically needs to override either of the methods in this interface.
+ * An implementation typically needs to override either of the methods in this interface,
+ * and needs to run in different environments, e.g., local user testing and automatic testing
+ * in a deployment pipeline.
*
* @author jonmv
*/
-public interface Authenticator {
+public interface EndpointAuthenticator {
/** Returns an SSLContext which provides authentication against a Vespa endpoint. */
default SSLContext sslContext() {