|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.owasp.esapi.SecurityConfiguration.Threshold
public static class SecurityConfiguration.Threshold
Models a simple threshold as a count and an interval, along with a set of actions to take if the threshold is exceeded. These thresholds are used to define when the accumulation of a particular event has met a set number within the specified time period. Once a threshold value has been met, various actions can be taken at that point.
Field Summary | |
---|---|
java.util.List<java.lang.String> |
actions
The list of actions to take if the threshold is met. |
int |
count
The count at which this threshold is triggered. |
long |
interval
The time frame within which 'count' number of actions has to be detected in order to trigger this threshold. |
java.lang.String |
name
The name of this threshold. |
Constructor Summary | |
---|---|
SecurityConfiguration.Threshold(java.lang.String name,
int count,
long interval,
java.util.List<java.lang.String> actions)
Constructs a threshold that is composed of its name, its threshold count, the time window for the threshold, and the actions to take if the threshold is triggered. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public int count
public long interval
public java.util.List<java.lang.String> actions
Constructor Detail |
---|
public SecurityConfiguration.Threshold(java.lang.String name, int count, long interval, java.util.List<java.lang.String> actions)
name
- The name of this threshold.count
- The count at which this threshold is triggered.interval
- The time frame within which 'count' number of actions has to be detected in order to
trigger this threshold.actions
- The list of actions to take if the threshold is met.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |