org.jboss.security.audit.providers
Class LogAuditProvider

java.lang.Object
  extended by org.jboss.security.audit.AbstractAuditProvider
      extended by org.jboss.security.audit.providers.LogAuditProvider
All Implemented Interfaces:
org.jboss.security.audit.AuditProvider

public class LogAuditProvider
extends org.jboss.security.audit.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
LogAuditProvider()
           
 
Method Summary
 void audit(org.jboss.security.audit.AuditEvent auditEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogAuditProvider

public LogAuditProvider()
Method Detail

audit

public void audit(org.jboss.security.audit.AuditEvent auditEvent)
Specified by:
audit in interface org.jboss.security.audit.AuditProvider
Specified by:
audit in class org.jboss.security.audit.AbstractAuditProvider


Copyright © 2009 JBoss Inc.. All Rights Reserved.