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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked during configuration of server 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.SslProvider

    close
  • Constructor Details

    • TlsContextBasedProvider

      public TlsContextBasedProvider()
  • Method Details

    • getTlsContext

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

      public void configureSsl(SslProvider.ConnectorSsl ssl, String name, int port)
      Description copied from interface: SslProvider
      Invoked during configuration of server connector
      Specified by:
      configureSsl in interface SslProvider
      Parameters:
      ssl - provides methods to modify default SSL configuration
      name - The connector name
      port - The connector listen port