diff options
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); } } |