public class IngressPortBasedResolver extends SaslPropertiesResolver
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
IngressPortBasedResolver() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getServerProperties(InetAddress clientAddress,
int ingressPort)
Identify the Sasl Properties to be used for a connection with a client.
|
void |
setConf(Configuration conf)
Set the configuration to be used by this object.
|
getClientProperties, getClientProperties, getConf, getDefaultProperties, getInstance, getServerProperties
public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
setConf
in class SaslPropertiesResolver
public Map<String,String> getServerProperties(InetAddress clientAddress, int ingressPort)
getServerProperties
in class SaslPropertiesResolver
clientAddress
- client's addressingressPort
- the port that the client is connectingCopyright © 2019 Apache Software Foundation. All Rights Reserved.