This method is the provider-equivalent of.
Syntax
void
audit
(
AuditToken
token
,
String
resourceClass
,
String
resourceID
,
String
action
,
Decision
decision
,
Map< String, Object >
attributes
) throws SecException
Parameters
-
token –
The provider's audit token. This must be retrieved at provider initialization from the configuration map supplied to the provider. The key to use is ProviderConst.AUDIT_TOKEN_CONFIG_PROPERTY
-
resourceClass –
The resource class to audit. This will have the string "provider." prepended to it to identity audit records generated by providers.
-
resourceID –
The resource ID
-
action –
The action
-
decision –
The decision
-
attributes –
Any extra attributes
Exceptions
-
SecException class –
If a critical error occurred while issuing the audit record.