Package com.yahoo.jdisc.http.ssl.impl
Class TlsContextBasedProvider
java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.jdisc.http.ssl.impl.TlsContextBasedProvider
- All Implemented Interfaces:
com.yahoo.component.Component,com.yahoo.component.Deconstructable,SslProvider,AutoCloseable,Comparable<com.yahoo.component.Component>
public abstract class TlsContextBasedProvider
extends com.yahoo.component.AbstractComponent
implements SslProvider
A
SslProvider that configures SSL from TlsContext instances.- Author:
- bjorncs
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.jdisc.http.SslProvider
SslProvider.ConnectorSsl -
Field Summary
Fields inherited from class com.yahoo.component.AbstractComponent
isDeconstructable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureSsl(SslProvider.ConnectorSsl ssl, String name, int port) Invoked during configuration of server connectorprotected abstract com.yahoo.security.tls.TlsContextgetTlsContext(String containerId, int port) Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.jdisc.http.SslProvider
close
-
Constructor Details
-
TlsContextBasedProvider
public TlsContextBasedProvider()
-
-
Method Details
-
getTlsContext
-
configureSsl
Description copied from interface:SslProviderInvoked during configuration of server connector- Specified by:
configureSslin interfaceSslProvider- Parameters:
ssl- provides methods to modify default SSL configurationname- The connector nameport- The connector listen port
-