aboutsummaryrefslogtreecommitdiffstats
path: root/hosted-api
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2019-08-21 14:00:33 +0200
committerJon Marius Venstad <venstad@gmail.com>2019-08-21 14:00:33 +0200
commit6a06c69162529273a386cd2a9c4cbac87eacce03 (patch)
tree6b87c46efbeeb61c011fae6a2bd99ad34d708ee7 /hosted-api
parentb0c5517a54ce356abf0dd6cd5705846675ccf0db (diff)
Remove currently unused things from test library API
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() {