Package tigase.io

Class SSLContextContainer

All Implemented Interfaces:
SSLContextContainerIfc, Initializable, Lifecycle
Direct Known Subclasses:
SSLContextContainer.Root

@Bean(name="sslContextContainer", parent=ConnectionManager.class, active=true) public class SSLContextContainer extends SSLContextContainerAbstract implements Initializable
Created: Oct 15, 2010 2:40:49 PM
Author:
Artur Hefczyc
  • Field Details

  • Constructor Details

    • SSLContextContainer

      public SSLContextContainer()
      Constructor for bean only
    • SSLContextContainer

      public SSLContextContainer(CertificateContainerIfc certContainer)
      Constructor used to create root SSLContextContainer instance which should cache only SSLContext instances where array of TrustManagers is not set - common for all ConnectionManagers. This instance is kept by TLSUtil class.
    • SSLContextContainer

      public SSLContextContainer(CertificateContainerIfc certContainer, SSLContextContainerIfc parent)
      Constructor used to create instances for every ConnectionManager so that every connection manager can have different TrustManagers and SSLContext instance will still be cached.
  • Method Details