Interface KerberosShortNamerAware
public interface KerberosShortNamerAware
Mix-in interface for
KafkaPrincipalBuilder implementations that need
a KerberosShortNamer for Kerberos principal name transformation.
When a custom KafkaPrincipalBuilder implements this interface, the
ChannelBuilders.createPrincipalBuilder(Map, KerberosShortNamer, SslPrincipalMapper) factory
will automatically call setKerberosShortNamer(KerberosShortNamer) after instantiation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetKerberosShortNamer(org.apache.kafka.common.security.kerberos.KerberosShortNamer kerberosShortNamer) Set the Kerberos short namer for principal name transformation.
-
Method Details
-
setKerberosShortNamer
void setKerberosShortNamer(org.apache.kafka.common.security.kerberos.KerberosShortNamer kerberosShortNamer) Set the Kerberos short namer for principal name transformation.- Parameters:
kerberosShortNamer- the Kerberos short namer, or null if not configured
-