To Use the Default Audit Module

The default audit module logs authentication and authorization requests to the server log file. For information on changing the location of the log file, see To Configure General Logging Settings.

Authentication log entries include the following information:

Regardless of whether audit logging is enabled, the GlassFish Server logs all denied authentication events.

Authorization log entries include the following information:

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, select the Security node.

    The Security page opens.

  3. From the Audit Modules drop-down list, select the audit module named default.
  4. Click Save.
See Also