public class WhitelistBasedTrustedChannelResolver
extends org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
DFS_DATATRANSFER_CLIENT_FIXEDWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form fixed whitelist.
|
static String |
DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_CACHE_SECS
time in seconds by which the variable whitelist file is checked for updates
|
static String |
DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_ENABLE
Enables/Disables variable whitelist
|
static String |
DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form variable whitelist.
|
static String |
DFS_DATATRANSFER_SERVER_FIXEDWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form fixed whitelist.
|
static String |
DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_CACHE_SECS
time in seconds by which the variable whitelist file is checked for updates
|
static String |
DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_ENABLE
Enables/Disables variable whitelist
|
static String |
DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form variable whitelist.
|
| Constructor and Description |
|---|
WhitelistBasedTrustedChannelResolver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrusted() |
boolean |
isTrusted(InetAddress clientAddress) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public static final String DFS_DATATRANSFER_SERVER_FIXEDWHITELIST_FILE
public static final String DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_ENABLE
public static final String DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_FILE
public static final String DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_CACHE_SECS
public static final String DFS_DATATRANSFER_CLIENT_FIXEDWHITELIST_FILE
public static final String DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_ENABLE
public static final String DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_FILE
public static final String DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_CACHE_SECS
public WhitelistBasedTrustedChannelResolver()
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolverpublic boolean isTrusted()
isTrusted in class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolverpublic boolean isTrusted(InetAddress clientAddress)
isTrusted in class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolverCopyright © 2022 Apache Software Foundation. All rights reserved.