public class TLSSocketFactoryFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean
LayeredConnectionSocketFactory for use in HttpClient.| Modifier and Type | Field and Description |
|---|---|
private boolean |
connectionDisregardTLSCertificate
Whether the responder's SSL/TLS certificate should be ignored.
|
private HttpClientSecurityParameters |
httpClientSecurityParameters
The optional HttpClient security parameters instance that will be used with the HttpClient instance.
|
private TrustEngine<?> |
tlsTrustEngine
The optional trust engine used in evaluating server TLS credentials.
|
| Constructor and Description |
|---|
TLSSocketFactoryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createInstance() |
Class |
getObjectType() |
void |
setConnectionDisregardTLSCertificate(boolean disregard)
Sets whether the responder's SSL/TLS certificate should be ignored.
|
void |
setHttpClientSecurityParameters(HttpClientSecurityParameters params)
Sets the optional HttpClient security parameters instance that will be used with the HttpClient instance.
|
void |
setTLSTrustEngine(TrustEngine<? super X509Credential> engine)
Deprecated.
use setHttpClientSecurityParameters instead
|
private TrustEngine<?> tlsTrustEngine
private HttpClientSecurityParameters httpClientSecurityParameters
private boolean connectionDisregardTLSCertificate
@Deprecated public void setTLSTrustEngine(@Nullable TrustEngine<? super X509Credential> engine)
engine - the trust engine instance to use, or nullpublic void setHttpClientSecurityParameters(@Nullable HttpClientSecurityParameters params)
params - the parameters, or nullpublic void setConnectionDisregardTLSCertificate(boolean disregard)
disregard - whether the responder's SSL/TLS certificate should be ignoredpublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeangetObjectType in class org.springframework.beans.factory.config.AbstractFactoryBeanCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.