org.owasp.esapi.waf.rules
public class IPRule extends Rule
| Constructor and Description |
|---|
IPRule(java.lang.String id,
java.util.regex.Pattern allowedIP,
java.util.regex.Pattern path,
java.lang.String ipHeader) |
IPRule(java.lang.String id,
java.util.regex.Pattern allowedIP,
java.lang.String exactPath) |
| Modifier and Type | Method and Description |
|---|---|
Action |
check(javax.servlet.http.HttpServletRequest request,
InterceptingHTTPServletResponse response,
javax.servlet.http.HttpServletResponse httpResponse) |
public IPRule(java.lang.String id,
java.util.regex.Pattern allowedIP,
java.util.regex.Pattern path,
java.lang.String ipHeader)
public IPRule(java.lang.String id,
java.util.regex.Pattern allowedIP,
java.lang.String exactPath)
public Action check(javax.servlet.http.HttpServletRequest request, InterceptingHTTPServletResponse response, javax.servlet.http.HttpServletResponse httpResponse)
Copyright © 2014 The Open Web Application Security Project (OWASP). All Rights Reserved.