org.owasp.esapi.waf.rules
Class PathExtensionRule
java.lang.Object
org.owasp.esapi.waf.rules.Rule
org.owasp.esapi.waf.rules.PathExtensionRule
public class PathExtensionRule
- extends Rule
This is the Rule subclass executed for <restrict-extension> rules.
- Author:
- Arshan Dabirsiaghi
Fields inherited from class org.owasp.esapi.waf.rules.Rule |
id, logger |
Constructor Summary |
PathExtensionRule(java.lang.String id,
java.util.regex.Pattern allow,
java.util.regex.Pattern deny)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PathExtensionRule
public PathExtensionRule(java.lang.String id,
java.util.regex.Pattern allow,
java.util.regex.Pattern deny)
check
public Action check(javax.servlet.http.HttpServletRequest request,
InterceptingHTTPServletResponse response,
javax.servlet.http.HttpServletResponse httpResponse)
- Specified by:
check
in class Rule
Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.