C - the config typepublic abstract class AbstractIPListPolicy<C> extends AbstractMappedPolicy<C>
| Constructor and Description |
|---|
AbstractIPListPolicy() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRemoteAddr(io.apiman.gateway.engine.beans.ServiceRequest request,
IPListConfig config)
Gets the remote address for comparison.
|
protected boolean |
isMatch(IPListConfig config,
String remoteAddr)
Returns true if the remote address is a match for the configured
values in the IP List.
|
apply, apply, doApply, doApply, getConfigurationClass, parseConfigurationprotected String getRemoteAddr(io.apiman.gateway.engine.beans.ServiceRequest request, IPListConfig config)
request - the requestconfig - the configprotected boolean isMatch(IPListConfig config, String remoteAddr)
config - the configremoteAddr - the remote addressCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.