Package io.strimzi.api.kafka.model
Class KafkaAuthorizationKeycloak
- java.lang.Object
-
- io.strimzi.api.kafka.model.KafkaAuthorization
-
- io.strimzi.api.kafka.model.KafkaAuthorizationKeycloak
-
- All Implemented Interfaces:
UnknownPropertyPreserving,Serializable
public class KafkaAuthorizationKeycloak extends KafkaAuthorization
Configures Keycloak authorization on the brokers- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTHORIZER_CLASS_NAMEstatic StringTYPE_KEYCLOAK
-
Constructor Summary
Constructors Constructor Description KafkaAuthorizationKeycloak()
-
Method Summary
-
Methods inherited from class io.strimzi.api.kafka.model.KafkaAuthorization
getAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
TYPE_KEYCLOAK
public static final String TYPE_KEYCLOAK
- See Also:
- Constant Field Values
-
AUTHORIZER_CLASS_NAME
public static final String AUTHORIZER_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein classKafkaAuthorization
-
supportsAdminApi
public boolean supportsAdminApi()
When delegation to Kafka Simple Authorizer is enabled, the Kafka Admin API can be used to manage the Kafka ACLs. If it is disabled, using the Admin API is not possible.- Specified by:
supportsAdminApiin classKafkaAuthorization- Returns:
- True when delegation to Kafka Simple Authorizer is enabled and the Kafka Admin API can be used to manage Simple ACLs.
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getTokenEndpointUri
public String getTokenEndpointUri()
-
setTokenEndpointUri
public void setTokenEndpointUri(String tokenEndpointUri)
-
getTlsTrustedCertificates
public List<CertSecretSource> getTlsTrustedCertificates()
-
setTlsTrustedCertificates
public void setTlsTrustedCertificates(List<CertSecretSource> tlsTrustedCertificates)
-
isDisableTlsHostnameVerification
public boolean isDisableTlsHostnameVerification()
-
setDisableTlsHostnameVerification
public void setDisableTlsHostnameVerification(boolean disableTlsHostnameVerification)
-
isDelegateToKafkaAcls
public boolean isDelegateToKafkaAcls()
-
setDelegateToKafkaAcls
public void setDelegateToKafkaAcls(boolean delegateToKafkaAcls)
-
getGrantsRefreshPeriodSeconds
public Integer getGrantsRefreshPeriodSeconds()
-
setGrantsRefreshPeriodSeconds
public void setGrantsRefreshPeriodSeconds(Integer grantsRefreshPeriodSeconds)
-
getGrantsRefreshPoolSize
public Integer getGrantsRefreshPoolSize()
-
setGrantsRefreshPoolSize
public void setGrantsRefreshPoolSize(Integer grantsRefreshPoolSize)
-
getConnectTimeoutSeconds
public Integer getConnectTimeoutSeconds()
-
setConnectTimeoutSeconds
public void setConnectTimeoutSeconds(Integer connectTimeoutSeconds)
-
getReadTimeoutSeconds
public Integer getReadTimeoutSeconds()
-
setReadTimeoutSeconds
public void setReadTimeoutSeconds(Integer readTimeoutSeconds)
-
-