public class AllowAllInternodeAuthenticator extends java.lang.Object implements IInternodeAuthenticator
| Constructor and Description | 
|---|
| AllowAllInternodeAuthenticator() | 
| 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). | 
public boolean authenticate(java.net.InetAddress remoteAddress,
                            int remotePort)
IInternodeAuthenticatorauthenticate in interface IInternodeAuthenticatorremoteAddress - ip address of the connecting node.remotePort - port of the connecting node.public void validateConfiguration()
                           throws ConfigurationException
IInternodeAuthenticatorvalidateConfiguration in interface IInternodeAuthenticatorConfigurationException - when there is a configuration error.Copyright © 2018 The Apache Software Foundation