Class KafkaClientAuthenticationOAuth
- java.lang.Object
-
- io.strimzi.api.kafka.model.authentication.KafkaClientAuthentication
-
- io.strimzi.api.kafka.model.authentication.KafkaClientAuthenticationOAuth
-
- All Implemented Interfaces:
UnknownPropertyPreserving,Serializable
public class KafkaClientAuthenticationOAuth extends KafkaClientAuthentication
Configures the Kafka client authentication using SASl OAUTHBEARER mechanism in client based components- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_OAUTH
-
Constructor Summary
Constructors Constructor Description KafkaClientAuthenticationOAuth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericSecretSourcegetAccessToken()StringgetClientId()GenericSecretSourcegetClientSecret()intgetMaxTokenExpirySeconds()GenericSecretSourcegetRefreshToken()StringgetScope()List<CertSecretSource>getTlsTrustedCertificates()StringgetTokenEndpointUri()StringgetType()booleanisAccessTokenIsJwt()booleanisDisableTlsHostnameVerification()voidsetAccessToken(GenericSecretSource accessToken)voidsetAccessTokenIsJwt(boolean accessTokenIsJwt)voidsetClientId(String clientId)voidsetClientSecret(GenericSecretSource clientSecret)voidsetDisableTlsHostnameVerification(boolean disableTlsHostnameVerification)voidsetMaxTokenExpirySeconds(int maxTokenExpirySeconds)voidsetRefreshToken(GenericSecretSource refreshToken)voidsetScope(String scope)voidsetTlsTrustedCertificates(List<CertSecretSource> tlsTrustedCertificates)voidsetTokenEndpointUri(String tokenEndpointUri)-
Methods inherited from class io.strimzi.api.kafka.model.authentication.KafkaClientAuthentication
getAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
TYPE_OAUTH
public static final String TYPE_OAUTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein classKafkaClientAuthentication
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getTokenEndpointUri
public String getTokenEndpointUri()
-
setTokenEndpointUri
public void setTokenEndpointUri(String tokenEndpointUri)
-
getClientSecret
public GenericSecretSource getClientSecret()
-
setClientSecret
public void setClientSecret(GenericSecretSource clientSecret)
-
getAccessToken
public GenericSecretSource getAccessToken()
-
setAccessToken
public void setAccessToken(GenericSecretSource accessToken)
-
getRefreshToken
public GenericSecretSource getRefreshToken()
-
setRefreshToken
public void setRefreshToken(GenericSecretSource refreshToken)
-
getTlsTrustedCertificates
public List<CertSecretSource> getTlsTrustedCertificates()
-
setTlsTrustedCertificates
public void setTlsTrustedCertificates(List<CertSecretSource> tlsTrustedCertificates)
-
isDisableTlsHostnameVerification
public boolean isDisableTlsHostnameVerification()
-
setDisableTlsHostnameVerification
public void setDisableTlsHostnameVerification(boolean disableTlsHostnameVerification)
-
getMaxTokenExpirySeconds
public int getMaxTokenExpirySeconds()
-
setMaxTokenExpirySeconds
public void setMaxTokenExpirySeconds(int maxTokenExpirySeconds)
-
isAccessTokenIsJwt
public boolean isAccessTokenIsJwt()
-
setAccessTokenIsJwt
public void setAccessTokenIsJwt(boolean accessTokenIsJwt)
-
-