Class HostedSslConnectorFactory
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<CCHILD>
com.yahoo.vespa.model.container.component.Component<AnyConfigProducer,com.yahoo.osgi.provider.model.ComponentModel>
com.yahoo.vespa.model.container.component.SimpleComponent
com.yahoo.vespa.model.container.http.ConnectorFactory
com.yahoo.vespa.model.container.http.ssl.HostedSslConnectorFactory
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.jdisc.http.ConnectorConfig.Producer
,ConfigProducer
,Serializable
,Comparable<Component<?,
?>>
Component specification for
ConnectorFactory
with hosted specific configuration.- Author:
- bjorncs
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.vespa.model.container.http.ConnectorFactory
ConnectorFactory.Builder
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getConfig
(com.yahoo.jdisc.http.ConnectorConfig.Builder connectorBuilder) static HostedSslConnectorFactory
withDefaultCertificateAndTruststore
(String serverName, Collection<String> tlsCiphersOverride, boolean enableProxyProtocolMixedMode, int port, Duration endpointConnectionTtl) Create connector factory that uses the default certificate and truststore provided by Vespa (through Vespa-global TLS configuration).static HostedSslConnectorFactory
withProvidedCertificate
(String serverName, com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets, boolean enforceHandshakeClientAuth, Collection<String> tlsCiphersOverride, boolean enableProxyProtocolMixedMode, int port, Duration endpointConnectionTtl) Create connector factory that uses a certificate provided by the config-model / configserver and default hosted Vespa truststore.static HostedSslConnectorFactory
withProvidedCertificateAndTruststore
(String serverName, com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets, String tlsCaCertificates, Collection<String> tlsCiphersOverride, boolean enableProxyProtocolMixedMode, int port, Duration endpointConnectionTtl) Create connector factory that uses a certificate provided by the config-model / configserver and a truststore configured by the application.Methods inherited from class com.yahoo.vespa.model.container.http.ConnectorFactory
getDefaultRequestFilterChain, getDefaultResponseFilterChain, getListenPort, getName, setDefaultRequestFilterChain, setDefaultResponseFilterChain, sslProvider
Methods inherited from class com.yahoo.vespa.model.container.component.Component
addComponent, compareTo, fromClassAndBundle, getClassId, getComponentId, getGlobalComponentId, getInjectedComponentIds, inject, injectForName, toString
Methods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validate
Methods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHosted
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
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, Duration endpointConnectionTtl) 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, Duration endpointConnectionTtl) 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, Duration endpointConnectionTtl) 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 interfacecom.yahoo.jdisc.http.ConnectorConfig.Producer
- Overrides:
getConfig
in classConnectorFactory
-