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:
Names of users who attempted to authenticate
The realm that processed the access request
The requested Web module URI or EJB component
Success or failure of the request
Regardless of whether audit logging is enabled, the GlassFish Server logs all denied authentication events.
Authorization log entries include the following information:
Names of authenticated users, if any
The requested Web URI or EJB component
Success or failure of the requests
In the navigation tree, expand the Configuration node.
Select the instance to configure:
To configure a particular instance, expand the instance's config node. For example, the default instance, server
, expand the server-config
node.
To configure the default settings for all instances, expand the default-config
node.
Under the Configuration node, select the Security node.
The Security page opens.
From the Audit Modules drop-down list, select the audit module named default
.
Click Save.