Generates and logs an audit record with the specified audit information.
Syntax
void
audit
(
String
resourceClass
,
String
resourceID
,
String
action
,
Map< String, Object >
attributes
,
Decision
decision
) throws SecException
Parameters
-
resourceClass –
the scope used when processing the resource ID.
-
resourceID –
the object on which an operation is being performed.
-
action –
the operation that is being performed.
-
attributes –
A map of attributes associated with the audit record.
-
decision –
the result of the security check.
Exceptions
-
SecException class –
If an error occurs while issuing the audit request.