public class TrustedChannelResolver extends Object implements Configurable
| Constructor and Description |
|---|
TrustedChannelResolver() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConf() |
static TrustedChannelResolver |
getInstance(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(Configuration conf) |
public TrustedChannelResolver()
public static TrustedChannelResolver getInstance(Configuration conf)
conf - public void setConf(Configuration conf)
setConf in interface Configurablepublic Configuration getConf()
getConf in interface Configurablepublic boolean isTrusted()
public boolean isTrusted(InetAddress peerAddress)
peerAddress - address of the peerCopyright © 2018 CERN. All Rights Reserved.