| Package | Description |
|---|---|
| io.strimzi.kafka.oauth.common |
| Modifier and Type | Method and Description |
|---|---|
static javax.net.ssl.HostnameVerifier |
ConfigUtil.createHostnameVerifier(Config config)
Create the HostnameVerifier from configuration in the passed
Config object. |
static javax.net.ssl.SSLSocketFactory |
ConfigUtil.createSSLFactory(Config config)
Create the
javax.net.ssl.SSLSocketFactory from configuration in the passed Config object. |
static java.lang.String |
ConfigUtil.getConfigWithFallbackLookup(Config c,
java.lang.String key,
java.lang.String fallbackKey)
Resolve the configuration value for the key as a string.
|
static int |
ConfigUtil.getConnectTimeout(Config config)
Resolve the value of the
Config.OAUTH_CONNECT_TIMEOUT_SECONDS configuration |
static int |
ConfigUtil.getReadTimeout(Config config)
Resolve the value of the
Config.OAUTH_READ_TIMEOUT_SECONDS configuration |
static int |
ConfigUtil.getTimeout(Config c,
java.lang.String key)
Resolve the configuration value for the key as a timeout in seconds with the default value of 60
|
static int |
ConfigUtil.getTimeoutConfigWithFallbackLookup(Config c,
java.lang.String key,
java.lang.String fallbackKey)
Resolve the configuration value for the key as a timeout in seconds with the default value of 60.
|
static boolean |
DeprecationUtil.isAccessTokenJwt(Config config,
org.slf4j.Logger log,
java.lang.String errorPrefix)
Get 'oauth.access.token.is.jwt' config option with fallback to the deprecated 'oauth.tokens.not.jwt'
|
Copyright © 2023. All rights reserved.