Class LogAuditProvider
- java.lang.Object
-
- org.jboss.security.audit.AbstractAuditProvider
-
- org.jboss.security.audit.providers.LogAuditProvider
-
- All Implemented Interfaces:
AuditProvider
public class LogAuditProvider extends AbstractAuditProvider
Audit Provider that just logs the audit event using a Logger. The flexibility of passing the audit log entries to a different sink (database, jms queue, file etc) can be controlled in the logging configuration (Eg: log4j.xml in log4j)Ensure that the appender is configured properly in the global log4j.xml for log entries to go to a log, separate from the regular server logs.
- Since:
- Aug 21, 2006
- Version:
- $Revision$
- Author:
- Anil Saldhana
-
-
Constructor Summary
Constructors Constructor Description LogAuditProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
audit(AuditEvent auditEvent)
Perform an audit of the event passed A provider can log the audit as per needs.
-
-
-
Method Detail
-
audit
public void audit(AuditEvent auditEvent)
Description copied from interface:AuditProvider
Perform an audit of the event passed A provider can log the audit as per needs.- Specified by:
audit
in interfaceAuditProvider
- Specified by:
audit
in classAbstractAuditProvider
- Parameters:
auditEvent
- audit event that holds information on the audit- See Also:
AuditProvider.audit(AuditEvent)
-
-