Package ai.vespa.hosted.cd
Interface EndpointAuthenticator
public interface EndpointAuthenticator
Adds environment dependent authentication to HTTP request against Vespa deployments.
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
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpRequest.Builder
authenticated
(HttpRequest.Builder request) Adds necessary authentication data to the given HTTP request builder, to pass the data plane of a Vespa endpoint.default SSLContext
Returns an SSLContext which provides authentication against a Vespa endpoint.
-
Method Details
-
sslContext
Returns an SSLContext which provides authentication against a Vespa endpoint. -
authenticated
Adds necessary authentication data to the given HTTP request builder, to pass the data plane of a Vespa endpoint. -
authorizationHeaders
-