Example usage for org.apache.http.conn.ssl SSLConnectionSocketFactory subclass-usage

List of usage examples for org.apache.http.conn.ssl SSLConnectionSocketFactory subclass-usage

Introduction

In this page you can find the example usage for org.apache.http.conn.ssl SSLConnectionSocketFactory subclass-usage.

Usage

From source file ee.ria.xroad.proxy.serverproxy.CustomSSLSocketFactory.java

@Slf4j
class CustomSSLSocketFactory extends SSLConnectionSocketFactory {

    CustomSSLSocketFactory(SSLContext sslContext, String[] supportedCipherSuites,
            HostnameVerifier hostNameVerifier) {
        super(sslContext, null, supportedCipherSuites, hostNameVerifier);

From source file org.jasig.cas.authentication.FileTrustStoreSslSocketFactory.java

import java.util.Arrays;
import java.util.List;

/**
 * The SSL socket factory that loads the SSL context from a custom
 * truststore file strictly used ssl handshakes for proxy authentication. 

From source file com.gargoylesoftware.htmlunit.httpclient.HtmlUnitSSLConnectionSocketFactory.java

/**
 * Socket factory offering facilities for insecure SSL and for SOCKS proxy support.
 * This looks rather like a hack than like clean code but at the time of the writing it seems to
 * be the easiest way to provide SOCKS proxy support for HTTPS.
 *
 * @author Nicolas Belisle

From source file ee.ria.xroad.proxy.clientproxy.FastestConnectionSelectingSSLSocketFactory.java

/**
 * This is a custom SSL socket factory that connects to the fastest target
 * address given a list of target addresses.
 *
 * The fastest target address is selected by initializing socket connection
 * to all provided addresses and choosing the first one to respond.