@Deprecated public class DefaultPrincipalBuilder extends java.lang.Object implements PrincipalBuilder
Constructor and Description |
---|
DefaultPrincipalBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.security.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(java.util.Map<java.lang.String,?> configs)
Deprecated.
Configures this class with given key-value pairs.
|
public void configure(java.util.Map<java.lang.String,?> configs)
PrincipalBuilder
configure
in interface Configurable
configure
in interface PrincipalBuilder
public java.security.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