Class KafkaAuthorizationKeycloak

java.lang.Object
io.strimzi.api.kafka.model.kafka.KafkaAuthorization
io.strimzi.api.kafka.model.kafka.KafkaAuthorizationKeycloak
All Implemented Interfaces:
UnknownPropertyPreserving

public class KafkaAuthorizationKeycloak extends KafkaAuthorization
Configures Keycloak authorization on the brokers
  • Field Details

  • Constructor Details

    • KafkaAuthorizationKeycloak

      public KafkaAuthorizationKeycloak()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class KafkaAuthorization
    • 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:
      supportsAdminApi in class KafkaAuthorization
      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)
    • getGrantsMaxIdleTimeSeconds

      public Integer getGrantsMaxIdleTimeSeconds()
    • setGrantsMaxIdleTimeSeconds

      public void setGrantsMaxIdleTimeSeconds(Integer grantsMaxIdleTimeSeconds)
    • getGrantsGcPeriodSeconds

      public Integer getGrantsGcPeriodSeconds()
    • setGrantsGcPeriodSeconds

      public void setGrantsGcPeriodSeconds(Integer grantsGcPeriodSeconds)
    • isGrantsAlwaysLatest

      public boolean isGrantsAlwaysLatest()
    • setGrantsAlwaysLatest

      public void setGrantsAlwaysLatest(boolean grantsAlwaysLatest)
    • getSuperUsers

      public List<String> getSuperUsers()
    • setSuperUsers

      public void setSuperUsers(List<String> superUsers)
    • getConnectTimeoutSeconds

      public Integer getConnectTimeoutSeconds()
    • setConnectTimeoutSeconds

      public void setConnectTimeoutSeconds(Integer connectTimeoutSeconds)
    • getReadTimeoutSeconds

      public Integer getReadTimeoutSeconds()
    • setReadTimeoutSeconds

      public void setReadTimeoutSeconds(Integer readTimeoutSeconds)
    • getHttpRetries

      public Integer getHttpRetries()
    • setHttpRetries

      public void setHttpRetries(Integer httpRetries)
    • isEnableMetrics

      public boolean isEnableMetrics()
    • setEnableMetrics

      public void setEnableMetrics(boolean enableMetrics)
    • isIncludeAcceptHeader

      public boolean isIncludeAcceptHeader()
    • setIncludeAcceptHeader

      public void setIncludeAcceptHeader(boolean includeAcceptHeader)