public abstract class AbstractIPListPolicy<C> extends AbstractMappedPolicy<C>
configuration| 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 - config - protected boolean isMatch(IPListConfig config, String remoteAddr)
config - remoteAddr - Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.