public interface IInternodeAuthenticator
Modifier and Type | Method and Description |
---|---|
boolean | authenticate(java.net.InetAddress remoteAddress, int remotePort) Decides whether or not a peer is allowed to connect to this node. |
void | validateConfiguration() Validates configuration of IInternodeAuthenticator implementation (if configurable). |
boolean authenticate(java.net.InetAddress remoteAddress, int remotePort)
remoteAddress
- ip address of the connecting node.remotePort
- port of the connecting node.void validateConfiguration() throws ConfigurationException
ConfigurationException
- when there is a configuration error.Copyright © 2013 The Apache Software Foundation