asadmin [asadmin-options] create-audit-module [--help]
--classname classname
[--property(name=value)[:name=value]*]
[--target target]
audit_module_name
|
create-audit-module DRAFT |
| Previous | Next | Contents |
adds an audit module
Synopsis
asadmin [asadmin-options] create-audit-module [--help]
--classname classname
[--property(name=value)[:name=value]*]
[--target target]
audit_module_name
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
Options for the asadmin utility. For information about these
options, see the asadmin(1M) help page.
--classnameThe name of the Java class that implements this audit module. If not
specified, this option defaults to
com.sun.enterprise.security.Audit.
--help-?Displays the help text for the subcommand.
--propertyOptional keyword-value pairs that specify additional properties for
the audit module.
Audit module properties that are defined by \{product---name} are as
follows:
auditOn If true, specifies that the audit module is loaded and called by
the \{product---name} audit library at audit points.
Other available properties are determined by the implementation of the
audit module.
--targetSpecifies the target on which you are creating the audit module. Valid
values are as follows:
serverCreates the audit module for the default server instance server
and is the default value.
Creates the audit module for the named configuration.
Creates the audit module for every server instance in the cluster.
Creates the audit module for a particular server instance.
Operands
The name of this audit module.
Examples
Example 1 Creating an audit module
asadmin> create-audit-module
--classname com.sun.appserv.auditmodule
--property defaultuser=admin:Password=admin sampleAuditModule
Command create-audit-module executed successfully
Exit Status
command executed successfully
error in executing the command
See Also
| Previous | Next | Contents |
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
DRAFT