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.
FileHandler  
LineReader  
 

Class Summary
AbstractAuditEventReader This abstract class implements the basic methods of an AuditEventReader.
AccessLogAuditReader This simple class creates small AuditEvent objects from a line of an web-server access log.
AuditEventIterator Creates a new Iterator for walking over a set of AuditEvent objects.
AuditEventParser  
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.
BufferedAuditEventSource This is an implementation of a buffered event-source.
BufferedAuditEventWriter This class implements a simple persistency thread.
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.
ConcurrentDirectoryReader This is a simple directory reader which recursively scans all files from a specified directory and tries to parse audit-events from them.
DefaultLineReader  
InputHandler  
IronBeeAuditReader  
IronBeeHttpHeaderParser  
IronBeeJSONProcessor  
IronBeeSectionParser  
IronBeeTimestampProcessor  
MessageParser This class implements a simple message parser, which reads the audit trailer section from a ModSecurity event and creates Message instances from that section.
ModSecurity2AuditReader This class implements a parser for audit-logfile for the modsecurity2.
ModSecurity2AuditStream 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.
SequentialFileReader  
 

Exception Summary
AuditFormatException Exceptions of this class are thrown in case of incompatible formats of audit-events or files which is tried to read from.
ParseException Instances of this class are thrown by audit-log readers in case of parsing errors.
 

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.



Copyright © 2012 jwall.org. All Rights Reserved.