Package io.strimzi.kafka.oauth.client
Class ClientConfig
java.lang.Object
io.strimzi.kafka.oauth.common.Config
io.strimzi.kafka.oauth.client.ClientConfig
A
Config object used for client configuration-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String"oauth.access.token"static final String"oauth.access.token.location"static final String"oauth.client.assertion"static final String"oauth.client.assertion.location"static final String"oauth.client.assertion.type"static final String"oauth.max.token.expiry.seconds"static final String"oauth.password.grant.password"static final String"oauth.password.grant.username"static final String"oauth.refresh.token"static final String"oauth.refresh.token.location"static final StringA prefix to use to pass SASL extensions optionsstatic final String"oauth.token.endpoint.uri"Fields inherited from class io.strimzi.kafka.oauth.common.Config
OAUTH_ACCESS_TOKEN_IS_JWT, OAUTH_AUDIENCE, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_CONFIG_ID, OAUTH_CONNECT_TIMEOUT_SECONDS, OAUTH_ENABLE_METRICS, OAUTH_FALLBACK_USERNAME_CLAIM, OAUTH_FALLBACK_USERNAME_PREFIX, OAUTH_HTTP_RETRIES, OAUTH_HTTP_RETRY_PAUSE_MILLIS, OAUTH_INCLUDE_ACCEPT_HEADER, OAUTH_READ_TIMEOUT_SECONDS, OAUTH_SCOPE, OAUTH_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM, OAUTH_SSL_SECURE_RANDOM_IMPLEMENTATION, OAUTH_SSL_TRUSTSTORE_CERTIFICATES, OAUTH_SSL_TRUSTSTORE_LOCATION, OAUTH_SSL_TRUSTSTORE_PASSWORD, OAUTH_SSL_TRUSTSTORE_TYPE, OAUTH_TOKENS_NOT_JWT, OAUTH_USERNAME_CLAIM, OAUTH_USERNAME_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instanceCreate a new instance -
Method Summary
Methods inherited from class io.strimzi.kafka.oauth.common.Config
getValue, getValue, getValueAsBoolean, getValueAsInt, getValueAsLong, getValueAsURI, isTrue, toEnvName, validate
-
Field Details
-
OAUTH_ACCESS_TOKEN
"oauth.access.token"- See Also:
-
OAUTH_ACCESS_TOKEN_LOCATION
"oauth.access.token.location"- See Also:
-
OAUTH_REFRESH_TOKEN
"oauth.refresh.token"- See Also:
-
OAUTH_REFRESH_TOKEN_LOCATION
"oauth.refresh.token.location"- See Also:
-
OAUTH_TOKEN_ENDPOINT_URI
"oauth.token.endpoint.uri"- See Also:
-
OAUTH_MAX_TOKEN_EXPIRY_SECONDS
"oauth.max.token.expiry.seconds"- See Also:
-
OAUTH_PASSWORD_GRANT_USERNAME
"oauth.password.grant.username"- See Also:
-
OAUTH_PASSWORD_GRANT_PASSWORD
"oauth.password.grant.password"- See Also:
-
OAUTH_CLIENT_ASSERTION
"oauth.client.assertion"- See Also:
-
OAUTH_CLIENT_ASSERTION_LOCATION
"oauth.client.assertion.location"- See Also:
-
OAUTH_CLIENT_ASSERTION_TYPE
"oauth.client.assertion.type"- See Also:
-
OAUTH_SASL_EXTENSION_PREFIX
A prefix to use to pass SASL extensions options- See Also:
-
-
Constructor Details
-
ClientConfig
public ClientConfig()Create a new instance -
ClientConfig
Create a new instance- Parameters:
p- Properties object containing the configuration
-