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)
IInternodeAuthenticator
authenticate
in interface IInternodeAuthenticator
remoteAddress
- ip address of the connecting node.remotePort
- port of the connecting node.public void validateConfiguration() throws ConfigurationException
IInternodeAuthenticator
validateConfiguration
in interface IInternodeAuthenticator
ConfigurationException
- when there is a configuration error.Copyright © 2013 The Apache Software Foundation