InsecureStreamProvider (Apache Tomcat 11.0.24 API Documentation)
Description: declaration: package: org.apache.catalina.tribes.membership.cloud, class: InsecureStreamProvider

# Class InsecureStreamProvider

java.lang.Object
org.apache.catalina.tribes.membership.cloud.AbstractStreamProvider
org.apache.catalina.tribes.membership.cloud.InsecureStreamProvider

All Implemented Interfaces:
  `StreamProvider`

public class InsecureStreamProvider extends AbstractStreamProvider
Stream provider that uses an insecure SSL context for testing purposes.

- ## Field Summary

  ### Fields inherited from class AbstractStreamProvider

  `INSECURE_TRUST_MANAGERS, sm`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected SSLSocketFactory`
  `getSocketFactory()`
  Returns the SSL socket factory.

  ### Methods inherited from class AbstractStreamProvider

  `configureCaCert, openConnection, openStream`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getSocketFactory

    protected SSLSocketFactory getSocketFactory()
    Description copied from class: `AbstractStreamProvider`
    Returns the SSL socket factory.
    Specified by:
      `getSocketFactory` in class `AbstractStreamProvider`
    Returns:
      the socket factory, or null if not needed