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 Summary
All 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
-
getTruststore
String getTruststore()
Returns truststore filename.
-
getTruststorePassword
String getTruststorePassword()
Returns truststore password.
-
getClientKeystore
String getClientKeystore()
Returns keystore with client keys.
-
getClientKeystorePassword
String getClientKeystorePassword()
Returns keystore password.
-
isAllowAnyHostname
boolean isAllowAnyHostname()
Returns boolean flag whether any hostname verification is done on the server's certificate,truemeans that verification is not done.- Returns:
-
isDisableTrustManager
boolean 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.
-
getConnectionPoolSize
int getConnectionPoolSize()
Returns size of connection pool.
-
getProxyUrl
String getProxyUrl()
Returns URL of HTTP proxy.
-
getSocketTimeout
long getSocketTimeout()
Returns timeout for socket waiting for data in milliseconds.
-
getConnectionTimeout
long getConnectionTimeout()
Returns timeout for establishing the connection with the remote host in milliseconds.
-
getConnectionTTL
long getConnectionTTL()
Returns the connection time-to-live
-
-