@Deprecated public class DefaultPrincipalBuilder extends Object implements PrincipalBuilder
Constructor and Description |
---|
DefaultPrincipalBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Principal |
buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer,
org.apache.kafka.common.network.Authenticator authenticator)
Deprecated.
Returns Principal.
|
void |
close()
Deprecated.
Closes this instance.
|
void |
configure(Map<String,?> configs)
Deprecated.
Configures this class with given key-value pairs.
|
public void configure(Map<String,?> configs)
PrincipalBuilder
configure
in interface Configurable
configure
in interface PrincipalBuilder
public Principal buildPrincipal(org.apache.kafka.common.network.TransportLayer transportLayer, org.apache.kafka.common.network.Authenticator authenticator) throws KafkaException
PrincipalBuilder
buildPrincipal
in interface PrincipalBuilder
KafkaException
public void close() throws KafkaException
PrincipalBuilder
close
in interface PrincipalBuilder
KafkaException