Class ConfigurableSSLSocketFactory


  • @Deprecated(since="2022-01-27")
    public class ConfigurableSSLSocketFactory
    extends javax.net.SocketFactory
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    An SSLSocketFactory that configures SSL parameters (those covered by SSLParameters) on each newly created socket.

    When any of this factory's createSocket methods are invoked, it calls on a SSLSocketFactory delegate to create the socket, and then sets the SSL parameters of the socket (using the provided configuration) before returning the socket to the caller.

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.net.Socket createSocket​(java.lang.String host, int port)
      Deprecated.
      java.net.Socket createSocket​(java.lang.String host, int port, java.net.InetAddress localHost, int localPort)
      Deprecated.
      java.net.Socket createSocket​(java.net.InetAddress host, int port)
      Deprecated.
      java.net.Socket createSocket​(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort)
      Deprecated.
      • Methods inherited from class javax.net.SocketFactory

        createSocket, getDefault
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurableSSLSocketFactory

        public ConfigurableSSLSocketFactory​(SSLParametersConfiguration parameters,
                                            javax.net.ssl.SSLSocketFactory delegate)
        Deprecated.
        Creates a new factory.
        Parameters:
        parameters - parameters that will be configured on each socket created by the factory
        delegate - socket factory that will be called upon to create sockets before configuration
    • Method Detail

      • createSocket

        public java.net.Socket createSocket​(java.net.InetAddress address,
                                            int port,
                                            java.net.InetAddress localAddress,
                                            int localPort)
                                     throws java.io.IOException
        Deprecated.
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public java.net.Socket createSocket​(java.net.InetAddress host,
                                            int port)
                                     throws java.io.IOException
        Deprecated.
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
      • createSocket

        public java.net.Socket createSocket​(java.lang.String host,
                                            int port,
                                            java.net.InetAddress localHost,
                                            int localPort)
                                     throws java.io.IOException,
                                            java.net.UnknownHostException
        Deprecated.
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
        java.net.UnknownHostException
      • createSocket

        public java.net.Socket createSocket​(java.lang.String host,
                                            int port)
                                     throws java.io.IOException,
                                            java.net.UnknownHostException
        Deprecated.
        Specified by:
        createSocket in class javax.net.SocketFactory
        Throws:
        java.io.IOException
        java.net.UnknownHostException