| Package | Description |
|---|---|
| io.strimzi.kafka.oauth.common | |
| io.strimzi.kafka.oauth.metrics |
| 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 java.lang.Boolean |
ConfigUtil.getDefaultBooleanConfigWithFallbackLookup(Config c,
java.lang.String key,
java.lang.String fallbackKey,
boolean defautValue)
Resolve the configuration value for the key as a string.
|
static int |
ConfigUtil.getReadTimeout(Config config)
Resolve the value of the
Config.OAUTH_READ_TIMEOUT_SECONDS configuration |
static int |
ConfigUtil.getTimeoutAppendingWarnings(Config c,
java.lang.String key,
java.util.List<java.lang.String> warnings)
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,
java.util.List<java.lang.String> warnings)
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'
|
| Constructor and Description |
|---|
Config(Config delegate)
Use this constructor if you want to wrap another Config object and override some functionality
|
| Modifier and Type | Class and Description |
|---|---|
class |
GlobalConfig
Configuration that can be specified as ENV vars, System properties or in
server.properties configuration file,
but not as part of the JAAS configuration. |
Copyright © 2024. All rights reserved.