public interface IntrusionDetector
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.
| Modifier and Type | Method and Description |
|---|---|
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.
|
void addException(java.lang.Exception exception)
throws IntrusionException
exception - the exception thrownIntrusionException - 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 eventIntrusionException - the intrusion exception