public class WhitelistBasedResolver extends SaslPropertiesResolver
| Modifier and Type | Field and Description | 
|---|---|
static String | 
HADOOP_RPC_PROTECTION_NON_WHITELIST
comma separated list containing alternate hadoop.rpc.protection values for
 clients which are not in whitelist 
 | 
static String | 
HADOOP_SECURITY_SASL_FIXEDWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form fixed whitelist. 
 | 
static String | 
HADOOP_SECURITY_SASL_VARIABLEWHITELIST_CACHE_SECS
time in seconds by which the variable whitelist file is checked for updates 
 | 
static String | 
HADOOP_SECURITY_SASL_VARIABLEWHITELIST_ENABLE
Enables/Disables variable whitelist 
 | 
static String | 
HADOOP_SECURITY_SASL_VARIABLEWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form variable whitelist. 
 | 
static org.slf4j.Logger | 
LOG  | 
| Constructor and Description | 
|---|
WhitelistBasedResolver()  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
getServerProperties(InetAddress clientAddress)
Identify the Sasl Properties to be used for a connection with a client. 
 | 
Map<String,String> | 
getServerProperties(String clientAddress)  | 
void | 
setConf(Configuration conf)
Set the configuration to be used by this object. 
 | 
getClientProperties, getConf, getDefaultProperties, getInstancepublic static final org.slf4j.Logger LOG
public static final String HADOOP_SECURITY_SASL_FIXEDWHITELIST_FILE
public static final String HADOOP_SECURITY_SASL_VARIABLEWHITELIST_ENABLE
public static final String HADOOP_SECURITY_SASL_VARIABLEWHITELIST_FILE
public static final String HADOOP_SECURITY_SASL_VARIABLEWHITELIST_CACHE_SECS
public static final String HADOOP_RPC_PROTECTION_NON_WHITELIST
public void setConf(Configuration conf)
ConfigurablesetConf in interface ConfigurablesetConf in class SaslPropertiesResolverpublic Map<String,String> getServerProperties(InetAddress clientAddress)
getServerProperties in class SaslPropertiesResolverclientAddress - client's addresspublic Map<String,String> getServerProperties(String clientAddress) throws UnknownHostException
UnknownHostExceptionCopyright © 2018 Apache Software Foundation. All Rights Reserved.