|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.security.SaslPropertiesResolver
public class SaslPropertiesResolver
Provides SaslProperties to be used for a connection. The default implementation is to read the values from configuration. This class can be overridden to provide custom SaslProperties. The custom class can be specified via configuration.
Constructor Summary | |
---|---|
SaslPropertiesResolver()
|
Method Summary | |
---|---|
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. |
protected 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaslPropertiesResolver()
Method Detail |
---|
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
protected Map<String,String> getDefaultProperties()
public Map<String,String> getServerProperties(InetAddress clientAddress)
clientAddress
- client's address
public Map<String,String> getClientProperties(InetAddress serverAddress)
serverAddress
- server's address
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |