Interface AdapterHttpClientConfig
- 
- All Known Implementing Classes:
- AdapterConfig,- Configuration
 
 public interface AdapterHttpClientConfigConfiguration options relevant for configuring http client that can be used by adapter. NOTE: keep in sync with adapters/saml/core/src/main/java/org/keycloak/adapters/AdapterHttpClientConfig.java until unified.- Author:
- hmlnarik
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClientKeystore()Returns keystore with client keys.StringgetClientKeystorePassword()Returns keystore password.intgetConnectionPoolSize()Returns size of connection pool.longgetConnectionTimeout()Returns timeout for establishing the connection with the remote host in milliseconds.longgetConnectionTTL()Returns the connection time-to-liveStringgetProxyUrl()Returns URL of HTTP proxy.longgetSocketTimeout()Returns timeout for socket waiting for data in milliseconds.StringgetTruststore()Returns truststore filename.StringgetTruststorePassword()Returns truststore password.booleanisAllowAnyHostname()Returns boolean flag whether any hostname verification is done on the server's certificate,truemeans that verification is not done.booleanisDisableTrustManager()Returns boolean flag whether any trust management and hostname verification is done.
 
- 
- 
- 
Method Detail- 
getTruststoreString getTruststore() Returns truststore filename.
 - 
getTruststorePasswordString getTruststorePassword() Returns truststore password.
 - 
getClientKeystoreString getClientKeystore() Returns keystore with client keys.
 - 
getClientKeystorePasswordString getClientKeystorePassword() Returns keystore password.
 - 
isAllowAnyHostnameboolean isAllowAnyHostname() Returns boolean flag whether any hostname verification is done on the server's certificate,truemeans that verification is not done.- Returns:
 
 - 
isDisableTrustManagerboolean isDisableTrustManager() Returns boolean flag whether any trust management and hostname verification is done.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. 
 - 
getConnectionPoolSizeint getConnectionPoolSize() Returns size of connection pool.
 - 
getProxyUrlString getProxyUrl() Returns URL of HTTP proxy.
 - 
getSocketTimeoutlong getSocketTimeout() Returns timeout for socket waiting for data in milliseconds.
 - 
getConnectionTimeoutlong getConnectionTimeout() Returns timeout for establishing the connection with the remote host in milliseconds.
 - 
getConnectionTTLlong getConnectionTTL() Returns the connection time-to-live
 
- 
 
-