Interface PrincipalBuilder
-
- All Superinterfaces:
Configurable
- All Known Implementing Classes:
DefaultPrincipalBuilder
@Unstable @Deprecated public interface PrincipalBuilder extends Configurable
Deprecated.As of Kafka 1.0.0, useKafkaPrincipalBuilderinstead. This will be removed in a future major release.PrincipalBuilder for Authenticator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.security.PrincipalbuildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator)Deprecated.Returns Principal.voidclose()Deprecated.Closes this instance.voidconfigure(java.util.Map<java.lang.String,?> configs)Deprecated.Configures this class with given key-value pairs.
-
-
-
Method Detail
-
configure
void configure(java.util.Map<java.lang.String,?> configs)
Deprecated.Configures this class with given key-value pairs.- Specified by:
configurein interfaceConfigurable
-
buildPrincipal
java.security.Principal buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator) throws KafkaExceptionDeprecated.Returns Principal.- Throws:
KafkaException
-
close
void close() throws KafkaExceptionDeprecated.Closes this instance.- Throws:
KafkaException
-
-