public class UserInfoCredentialProvider extends Object implements BasicAuthCredentialProvider
Constructor and Description |
---|
UserInfoCredentialProvider() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Map<String,?> configs) |
String |
getUserInfo()
Returns user credentials
|
String |
providerName()
Returns the name of this provider.
|
public String providerName()
BasicAuthCredentialProvider
providerName
in interface BasicAuthCredentialProvider
public void configure(Map<String,?> configs)
configure
in interface org.apache.kafka.common.Configurable
public String getUserInfo()
BasicAuthCredentialProvider
getUserInfo
in interface BasicAuthCredentialProvider