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, SslContextFactoryProvider, AutoCloseable, Comparable<com.yahoo.component.Component>

public abstract class TlsContextBasedProvider extends com.yahoo.component.AbstractComponent implements SslContextFactoryProvider
A SslContextFactoryProvider that creates SslContextFactory instances from TlsContext instances.
Author:
bjorncs
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.eclipse.jetty.util.ssl.SslContextFactory
    getInstance(String containerId, int port)
    This method is called once for each SSL connector.
    protected 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.ssl.SslContextFactoryProvider

    close
  • Constructor Details

    • TlsContextBasedProvider

      public TlsContextBasedProvider()
  • Method Details

    • getTlsContext

      protected abstract com.yahoo.security.tls.TlsContext getTlsContext(String containerId, int port)
    • getInstance

      public final org.eclipse.jetty.util.ssl.SslContextFactory getInstance(String containerId, int port)
      Description copied from interface: SslContextFactoryProvider
      This method is called once for each SSL connector.
      Specified by:
      getInstance in interface SslContextFactoryProvider
      Returns:
      returns an instance of SslContextFactory for a given JDisc http server