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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureSsl
(SslProvider.ConnectorSsl ssl, String name, int port) Invoked during configuration of server connectorprotected abstract com.yahoo.security.tls.TlsContext
getTlsContext
(String containerId, int port) Methods inherited from class com.yahoo.component.AbstractComponent
clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.jdisc.http.SslProvider
close
-
Constructor Details
-
TlsContextBasedProvider
public TlsContextBasedProvider()
-
-
Method Details
-
getTlsContext
-
configureSsl
Description copied from interface:SslProvider
Invoked during configuration of server connector- Specified by:
configureSsl
in interfaceSslProvider
- Parameters:
ssl
- provides methods to modify default SSL configurationname
- The connector nameport
- The connector listen port
-