Class HostedSslConnectorFactory

All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, com.yahoo.jdisc.http.ConnectorConfig.Producer, ConfigProducer, Serializable, Comparable<Component<?,?>>

public class HostedSslConnectorFactory extends ConnectorFactory
Component specification for ConnectorFactory with hosted specific configuration.
Author:
bjorncs
See Also:
  • Method Details

    • withProvidedCertificate

      public static HostedSslConnectorFactory withProvidedCertificate(String serverName, com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets, boolean enforceHandshakeClientAuth, Collection<String> tlsCiphersOverride, boolean enableProxyProtocolMixedMode, int port)
      Create connector factory that uses a certificate provided by the config-model / configserver and default hosted Vespa truststore.
    • withProvidedCertificateAndTruststore

      public static HostedSslConnectorFactory withProvidedCertificateAndTruststore(String serverName, com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets, String tlsCaCertificates, Collection<String> tlsCiphersOverride, boolean enableProxyProtocolMixedMode, int port)
      Create connector factory that uses a certificate provided by the config-model / configserver and a truststore configured by the application.
    • withDefaultCertificateAndTruststore

      public static HostedSslConnectorFactory withDefaultCertificateAndTruststore(String serverName, Collection<String> tlsCiphersOverride, boolean enableProxyProtocolMixedMode, int port)
      Create connector factory that uses the default certificate and truststore provided by Vespa (through Vespa-global TLS configuration).
    • getConfig

      public void getConfig(com.yahoo.jdisc.http.ConnectorConfig.Builder connectorBuilder)
      Specified by:
      getConfig in interface com.yahoo.jdisc.http.ConnectorConfig.Producer
      Overrides:
      getConfig in class ConnectorFactory