This method will be called to query if an audit record with the specified attributes should be logged to the audit destination.
Syntax
boolean
isAuditEnabled
(
String
resourceClass
,
String
action
,
Decision
decision
) throws SecException
Parameters
-
resourceClass –
the scope used when processing the resource ID.
-
action –
the operation that is being performed.
-
decision –
the result of the security check.
Returns
the decision on whether or not an audit record with the specified attributes should be logged to the audit destination.
Exceptions
-
SecException class –
generated when an error is encountered while performing the audit record query.
Usage
the decision on whether or not an audit record with the specified attributes should be logged to the audit destination.