Class KafkaAuthorizationKeycloak

    • Constructor Detail

      • KafkaAuthorizationKeycloak

        public KafkaAuthorizationKeycloak()
    • Method Detail

      • 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)
      • 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)
      • 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)