public class NetworkAccessHandler extends java.lang.Object implements IAccessHandler
Constructor and Description |
---|
NetworkAccessHandler(java.util.Collection<java.lang.String> networkPatterns)
Create network access handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptRemoteIpAddress(java.lang.String remoteIpAddress)
Check whether the given IP address is valid to write to the RESt interface.
|
public NetworkAccessHandler(java.util.Collection<java.lang.String> networkPatterns) throws java.net.UnknownHostException
networkPatterns
- list of ip/network patterns specifying allowed IP addressesjava.net.UnknownHostException
- if the ip address cannot be resolvedpublic boolean acceptRemoteIpAddress(java.lang.String remoteIpAddress)
IAccessHandler
acceptRemoteIpAddress
in interface IAccessHandler
remoteIpAddress
- the remote IP addressCopyright 2020 Kieker Project, http://kieker-monitoring.net