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()
AdapterHttpClientConfig
getTruststore
in interface AdapterHttpClientConfig
public void setTruststore(String truststore)
public String getTruststorePassword()
AdapterHttpClientConfig
getTruststorePassword
in interface AdapterHttpClientConfig
public void setTruststorePassword(String truststorePassword)
public String getClientKeystore()
AdapterHttpClientConfig
getClientKeystore
in interface AdapterHttpClientConfig
public void setClientKeystore(String clientKeystore)
public String getClientKeystorePassword()
AdapterHttpClientConfig
getClientKeystorePassword
in interface AdapterHttpClientConfig
public void setClientKeystorePassword(String clientKeystorePassword)
public boolean isAllowAnyHostname()
AdapterHttpClientConfig
true
means that verification is not done.isAllowAnyHostname
in interface AdapterHttpClientConfig
public void setAllowAnyHostname(boolean allowAnyHostname)
public boolean isDisableTrustManager()
AdapterHttpClientConfig
NOTE 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 AdapterHttpClientConfig
public void setDisableTrustManager(boolean disableTrustManager)
public int getConnectionPoolSize()
AdapterHttpClientConfig
getConnectionPoolSize
in interface AdapterHttpClientConfig
public void setConnectionPoolSize(int connectionPoolSize)
public String getProxyUrl()
AdapterHttpClientConfig
getProxyUrl
in interface AdapterHttpClientConfig
public void setProxyUrl(String proxyUrl)
Copyright © 2019 JBoss by Red Hat. All rights reserved.