Package org.jwall.web.audit.io

This package contains the interfaces and classes that are used to read event from various sources or write audit-event to files.

See:
          Description

Interface Summary
AuditEventReader This interface defines the methods of an abstract event-reader.
AuditEventSource This interface defines the methods which all sources of AuditEvent-objects have to implement.
AuditEventWriter This interface defines the methods all AuditEvent persistence-classes have to implement.
 

Class Summary
AccessLogAuditReader This simple class creates small AuditEvent objects from a line of an web-server access log.
AuditFormat This class defines several constants for AuditLog file formats.
AuditLogFileWriter This is a persistence-thread which listens for events and writes them to a file.
BinaryReader A reader which reads bytes from an input-stream and also supports reading a whole line returned as string.
BufferedAuditEventSource This is an implementation of a buffered event-source.
BufferedAuditEventWriter  
ConcurrentAuditReader This class read the index-file of a concurrent auditlog and creates audit-events from the appopriate event-files, if available.
ConcurrentAuditWriter This class implements a simple writer that writes audit-events in the concurrent log format of modsecurity.
ModSecurity2AuditReader This class implements a parser for audit-logfile for the modsecurity2.
ModSecurity2AuditWriter This simple writer creates an audit-log file in the format of the ModSecurity2 audit-log.
ModSecurityAuditReader This class implements a reader for AuditEvent-objects read from a file produced by mod_security prior version 2.0.
 

Exception Summary
ParseException  
 

Package org.jwall.web.audit.io Description

This package contains the interfaces and classes that are used to read event from various sources or write audit-event to files.

The basic interfaces are the AuditEventReader and AuditEventWriter. These define all methods that need to be implemented by a custom reader/writer. The provided implementations in this package already support reading and writing the basic ModSecurity formats.