Returns whether or not an audit record with the supplied arguments will be written to any audit destinations.
Syntax
boolean
isAuditEnabled
(
String
resourceClass
,
String
action
,
Decision
decision
) throws SecException
Parameters
-
resourceClass –
The resource class of the audit record
-
action –
The action to be performed
-
decision –
The decision
Returns
true if the record will be written, false otherwise
Exceptions
-
SecException class –
if an error occurs while checking the audit filters
-
IllegalArgumentException –
if a null resource class, action or decision are supplied
Usage
true if the record will be written, false otherwise