|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntrusionDetector
The IntrusionDetector interface is intended to track security relevant events and identify attack behavior. The implementation can use as much state as necessary to detect attacks, but note that storing too much state will burden your system.
The interface is currently designed to accept exceptions as well as custom events. Implementations can use this stream of information to detect both normal and abnormal behavior.
Method Summary | |
---|---|
void |
addEvent(java.lang.String eventName,
java.lang.String logMessage)
Adds the event to the IntrusionDetector. |
void |
addException(java.lang.Exception exception)
Adds the exception to the IntrusionDetector. |
Method Detail |
---|
void addException(java.lang.Exception exception) throws IntrusionException
exception
- the exception thrown
IntrusionException
- the intrusion exceptionvoid addEvent(java.lang.String eventName, java.lang.String logMessage) throws IntrusionException
eventName
- the event to addlogMessage
- the message to log with the event
IntrusionException
- the intrusion exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |