public class AuditEventMatch extends Match implements FilterExpression
This class implements the most generic ModSecurity-like match. It matches the value of a given variable against a single or set of values using a specific operator. This implementation supports the operators
rx, by matching the value against regular expressionspm, by looking for substring matcheseq, by looking for equality of strings| Constructor and Description |
|---|
AuditEventMatch() |
AuditEventMatch(String variable) |
AuditEventMatch(String variable,
Operator op,
String value) |
AuditEventMatch(String variable,
String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(AuditEvent evt)
Matches the expression against the given event.
|
Object |
readResolve() |
String |
toXML()
Returns an XML representation of this match.
|
getOp, getOperator, getValue, getValueObject, getVariable, setOperator, setValue, setVariable, toStringpublic AuditEventMatch()
public AuditEventMatch(String variable)
public boolean matches(AuditEvent evt)
FilterExpressionmatches in interface FilterExpressionmatches(org.jwall.web.audit.AuditEvent)public String toXML()
public Object readResolve()
Copyright © 2015 jwall.org. All Rights Reserved.