Oracle GlassFish Server 3.1 Section 1: asadmin Utility Subcommands
create-connector-connection-pool(1)
create-connector-security-map(1)
create-connector-work-security-map(1)
create-jdbc-connection-pool(1)
create-message-security-provider(1)
create-resource-adapter-config(1)
delete-connector-connection-pool(1)
delete-connector-security-map(1)
delete-connector-work-security-map(1)
delete-jdbc-connection-pool(1)
delete-message-security-provider(1)
delete-resource-adapter-config(1)
disable-http-lb-application(1)
disable-secure-admin-internal-user(1)
disable-secure-admin-principal(1)
enable-secure-admin-internal-user(1)
enable-secure-admin-principal(1)
list-connector-connection-pools(1)
list-connector-security-maps(1)
list-connector-work-security-maps(1)
list-message-security-providers(1)
list-resource-adapter-configs(1)
list-secure-admin-internal-users(1)
list-secure-admin-principals(1)
list-supported-cipher-suites(1)
unfreeze-transaction-service(1)
update-admin-server-coordinates(1)
update-admin-server-local-coordinates(1)
update-connector-security-map(1)
update-connector-work-security-map(1)
Oracle GlassFish Server 3.1 Section 1M: Utility Commands
Oracle GlassFish Server 3.1 Section 5ASC: GlassFish Server Concepts
- adds an audit module
create-audit-module [--help] --classname classname [--property(name=value)[:name=value]*] [--target target] audit_module_name
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.
The name of the Java class that implements this audit module. If not specified, this option defaults to com.sun.enterprise.security.Audit.
Displays the help text for the subcommand.
Optional keyword-value pairs that specify additional properties for the audit module.
Audit module properties that are defined by GlassFish Server are as follows:
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.
Specifies the target on which you are creating the audit module. Valid values are as follows:
Creates 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.
The name of this audit module.
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
command executed successfully
error in executing the command