public static class IDP.HttpClientConfig extends Object implements AdapterHttpClientConfig
| Constructor and Description |
|---|
HttpClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientKeystore()
Returns keystore with client keys.
|
String |
getClientKeystorePassword()
Returns keystore password.
|
int |
getConnectionPoolSize()
Returns size of connection pool.
|
String |
getProxyUrl()
Returns URL of HTTP proxy.
|
String |
getTruststore()
Returns truststore filename.
|
String |
getTruststorePassword()
Returns truststore password.
|
boolean |
isAllowAnyHostname()
Returns boolean flag whether any hostname verification is done on the server's
certificate,
true means that verification is not done. |
boolean |
isDisableTrustManager()
Returns boolean flag whether any trust management and hostname verification is done.
|
void |
setAllowAnyHostname(boolean allowAnyHostname) |
void |
setClientKeystore(String clientKeystore) |
void |
setClientKeystorePassword(String clientKeystorePassword) |
void |
setConnectionPoolSize(int connectionPoolSize) |
void |
setDisableTrustManager(boolean disableTrustManager) |
void |
setProxyUrl(String proxyUrl) |
void |
setTruststore(String truststore) |
void |
setTruststorePassword(String truststorePassword) |
public String getTruststore()
AdapterHttpClientConfiggetTruststore in interface AdapterHttpClientConfigpublic void setTruststore(String truststore)
public String getTruststorePassword()
AdapterHttpClientConfiggetTruststorePassword in interface AdapterHttpClientConfigpublic void setTruststorePassword(String truststorePassword)
public String getClientKeystore()
AdapterHttpClientConfiggetClientKeystore in interface AdapterHttpClientConfigpublic void setClientKeystore(String clientKeystore)
public String getClientKeystorePassword()
AdapterHttpClientConfiggetClientKeystorePassword in interface AdapterHttpClientConfigpublic void setClientKeystorePassword(String clientKeystorePassword)
public boolean isAllowAnyHostname()
AdapterHttpClientConfigtrue means that verification is not done.isAllowAnyHostname in interface AdapterHttpClientConfigpublic void setAllowAnyHostname(boolean allowAnyHostname)
public boolean isDisableTrustManager()
AdapterHttpClientConfigNOTE Disabling trust manager is a security hole, so only set this option if you cannot or do not want to verify the identity of the host you are communicating with.
isDisableTrustManager in interface AdapterHttpClientConfigpublic void setDisableTrustManager(boolean disableTrustManager)
public int getConnectionPoolSize()
AdapterHttpClientConfiggetConnectionPoolSize in interface AdapterHttpClientConfigpublic void setConnectionPoolSize(int connectionPoolSize)
public String getProxyUrl()
AdapterHttpClientConfiggetProxyUrl in interface AdapterHttpClientConfigpublic void setProxyUrl(String proxyUrl)
Copyright © 2019 JBoss by Red Hat. All rights reserved.