Top Description Methods
org.keycloak.representations.adapters.config

public Interface AdapterHttpClientConfig

Known Direct Implementers
org.keycloak.representations.adapters.config.AdapterConfig

Configuration 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

Modifier and TypeMethod and Description
public String
getClientKeystore()

Returns keystore with client keys.

public String
getClientKeystorePassword()

Returns keystore password.

public int
getConnectionPoolSize()

Returns size of connection pool.

public long
getConnectionTimeout()

Returns timeout for establishing the connection with the remote host in milliseconds.

public long
getConnectionTTL()

Returns the connection time-to-live

public String
getProxyUrl()

Returns URL of HTTP proxy.

public long
getSocketTimeout()

Returns timeout for socket waiting for data in milliseconds.

public String
getTruststore()

Returns truststore filename.

public String
getTruststorePassword()

Returns truststore password.

public boolean
isAllowAnyHostname()

Returns boolean flag whether any hostname verification is done on the server's certificate, true means that verification is not done.

public boolean
isDisableTrustManager()

Returns boolean flag whether any trust management and hostname verification is done.

Method Detail

getClientKeystoreback to summary
public String getClientKeystore()

Returns keystore with client keys.

getClientKeystorePasswordback to summary
public String getClientKeystorePassword()

Returns keystore password.

getConnectionPoolSizeback to summary
public int getConnectionPoolSize()

Returns size of connection pool.

getConnectionTimeoutback to summary
public long getConnectionTimeout()

Returns timeout for establishing the connection with the remote host in milliseconds.

getConnectionTTLback to summary
public long getConnectionTTL()

Returns the connection time-to-live

getProxyUrlback to summary
public String getProxyUrl()

Returns URL of HTTP proxy.

getSocketTimeoutback to summary
public long getSocketTimeout()

Returns timeout for socket waiting for data in milliseconds.

getTruststoreback to summary
public String getTruststore()

Returns truststore filename.

getTruststorePasswordback to summary
public String getTruststorePassword()

Returns truststore password.

isAllowAnyHostnameback to summary
public boolean isAllowAnyHostname()

Returns boolean flag whether any hostname verification is done on the server's certificate, true means that verification is not done.

isDisableTrustManagerback to summary
public 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.