The EPX audit log is enabled through the use of an Enterprise Java Bean (EJB) that will persist audit information in a relational database table named S_AUDIT. This table can be found in the database that your EPX installation is using. It provides all EPX product components with a mechanism for logging status, debug, and security-related audit records. The EJB is accessible through a facade class named com.enterworks.client.facade.audit.AuditBeansFacade, which has methods for creating new audit log entries and methods for querying the audit log according to user-defined criteria.
A third-party, external audit logging facility can be incorporated into the EPX product in lieu of or in addition to the default EPX audit log, through EPX’s Control Manager.
This chapter provides annotated sample code to help you with the following audit logging functions:
Logging an entry into the audit log
Querying audit log records
The example program for this chapter can be found in the file AuditExample.java in the
examples\api directory of the EPX installation.