public class TrustedChannelResolver extends Object implements org.apache.hadoop.conf.Configurable
| Constructor and Description | 
|---|
| TrustedChannelResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.conf.Configuration | getConf() | 
| static TrustedChannelResolver | getInstance(org.apache.hadoop.conf.Configuration conf)Returns an instance of TrustedChannelResolver. | 
| boolean | isTrusted()Return boolean value indicating whether a channel is trusted or not
 from a client's perspective. | 
| boolean | isTrusted(InetAddress peerAddress)Identify boolean value indicating whether a channel is trusted or not. | 
| void | setConf(org.apache.hadoop.conf.Configuration conf) | 
public static TrustedChannelResolver getInstance(org.apache.hadoop.conf.Configuration conf)
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic boolean isTrusted()
public boolean isTrusted(InetAddress peerAddress)
peerAddress - address of the peerCopyright © 2008–2023 Apache Software Foundation. All rights reserved.