public class SaslPropertiesResolver extends Object implements Configurable
Constructor and Description |
---|
SaslPropertiesResolver() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getClientProperties(InetAddress serverAddress)
Identify the Sasl Properties to be used for a connection with a server.
|
Configuration |
getConf()
Return the configuration used by this object.
|
Map<String,String> |
getDefaultProperties()
The default Sasl Properties read from the configuration
|
static SaslPropertiesResolver |
getInstance(Configuration conf)
Returns an instance of SaslPropertiesResolver.
|
Map<String,String> |
getServerProperties(InetAddress clientAddress)
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.
|
public SaslPropertiesResolver()
public static SaslPropertiesResolver getInstance(Configuration conf)
conf
- public void setConf(Configuration conf)
Configurable
setConf
in interface Configurable
public Configuration getConf()
Configurable
getConf
in interface Configurable
public Map<String,String> getDefaultProperties()
public Map<String,String> getServerProperties(InetAddress clientAddress)
clientAddress
- client's addresspublic Map<String,String> getClientProperties(InetAddress serverAddress)
serverAddress
- server's addressCopyright © 2017 Apache Software Foundation. All Rights Reserved.