Class HostedSslConnectorFactory
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<CHILD>
-
- com.yahoo.vespa.model.container.component.Component<AbstractConfigProducer<?>,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<?,?>>
public class HostedSslConnectorFactory extends ConnectorFactory
Component specification forConnectorFactory
with hosted specific configuration.- Author:
- bjorncs
- See Also:
- Serialized Form
-
-
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.AbstractConfigProducer
log
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.jdisc.http.ConnectorConfig.Builder connectorBuilder)
static HostedSslConnectorFactory
withDefaultCertificateAndTruststore(String serverName, Collection<String> tlsCiphersOverride)
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)
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)
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
-
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.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Method Detail
-
withProvidedCertificate
public static HostedSslConnectorFactory withProvidedCertificate(String serverName, com.yahoo.config.model.api.EndpointCertificateSecrets endpointCertificateSecrets, boolean enforceHandshakeClientAuth, Collection<String> tlsCiphersOverride)
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)
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)
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
-
-