diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-07-17 13:25:35 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-07-17 13:25:35 +0200 |
commit | db6754258b06be89d574ab69758b9d4b9bc6b58f (patch) | |
tree | bc14d3ab928f0b45626dd7498bfb415c794410ae /config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java | |
parent | b6ac46128704d483d590d6d91d3da051da24ea94 (diff) |
Always use `CloudSslContextProvider`
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java b/config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java index 76014181558..4f11611541d 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/container/http/ssl/HostedSslConnectorFactory.java @@ -38,7 +38,7 @@ public class HostedSslConnectorFactory extends ConnectorFactory { ? ConnectorConfig.Ssl.ClientAuth.Enum.NEED_AUTH : ConnectorConfig.Ssl.ClientAuth.Enum.WANT_AUTH; return new CloudSslProvider( builder.name, builder.endpointCertificate.key(), builder.endpointCertificate.certificate(), - builder.tlsCaCertificatesPath, builder.tlsCaCertificatesPem, clientAuthentication, builder.tokenEndpoint); + builder.tlsCaCertificatesPath, builder.tlsCaCertificatesPem, clientAuthentication); } @Override @@ -72,7 +72,6 @@ public class HostedSslConnectorFactory extends ConnectorFactory { EndpointCertificateSecrets endpointCertificate; String tlsCaCertificatesPem; String tlsCaCertificatesPath; - boolean tokenEndpoint; private Builder(String name, int port) { this.name = name; this.port = port; } public Builder requireTlsClientAuthDuringTlsHandshake(boolean enable) {this.requireTlsClientAuthDuringTlsHandshake = enable; return this; } @@ -82,7 +81,6 @@ public class HostedSslConnectorFactory extends ConnectorFactory { public Builder endpointCertificate(EndpointCertificateSecrets cert) { this.endpointCertificate = cert; return this; } public Builder tlsCaCertificatesPath(String path) { this.tlsCaCertificatesPath = path; return this; } public Builder tlsCaCertificatesPem(String pem) { this.tlsCaCertificatesPem = pem; return this; } - public Builder tokenEndpoint(boolean enable) { this.tokenEndpoint = enable; return this; } public HostedSslConnectorFactory build() { return new HostedSslConnectorFactory(this); } } |