Name

Synopsis

Description

The create-audit-module subcommand adds the named
audit module for the Java class that implements the audit capabilities. Audit
modules collect and store information on incoming requests (from, for example,
servlets and EJB components) and outgoing responses.

This subcommand is supported in remote mode only.

Options

--classname

The name of the Java class that implements this audit module.
If not specified, this option defaults to com.sun.enterprise.security.Audit.

Audit module properties that are defined by GlassFish Server are as follows:

auditOn

If true, specifies that the audit module
is loaded and called by the GlassFish Server audit library at audit points.

Other available properties are determined by the implementation of the
audit module.

--target

Do not specify this option. This option is retained for compatibility with other releases. If you specify this option, a syntax error does not occur. Instead, the subcommand runs successfully and the option is silently ignored.