Interface SslPrincipalMapperAware


public interface SslPrincipalMapperAware
Mix-in interface for KafkaPrincipalBuilder implementations that need an SslPrincipalMapper for SSL/TLS principal name transformation.

When a custom KafkaPrincipalBuilder implements this interface, the ChannelBuilders.createPrincipalBuilder(Map, KerberosShortNamer, SslPrincipalMapper) factory will automatically call setSslPrincipalMapper(SslPrincipalMapper) after instantiation.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setSslPrincipalMapper(org.apache.kafka.common.security.ssl.SslPrincipalMapper sslPrincipalMapper)
    Set the SSL principal mapper for SSL/TLS principal name transformation.
  • Method Details

    • setSslPrincipalMapper

      void setSslPrincipalMapper(org.apache.kafka.common.security.ssl.SslPrincipalMapper sslPrincipalMapper)
      Set the SSL principal mapper for SSL/TLS principal name transformation.
      Parameters:
      sslPrincipalMapper - the SSL principal mapper, or null if not configured