This method implements the authorization logic behind a specific AuthzRequest type.
Syntax
abstract AuthzResponse
performAuthorization
(
AuthzRequest
request
,
Map< String, Object >
context
,
Map< String, Object >
auditDetails
) throws SecException
Parameters
-
request –
the AuthzRequest being processed.
-
context –
the security context in which the request is being processed.
-
auditDetails –
map containing the information to be added into the audit record.
Returns
An AuthzResponse describing if the request was Denied or Permitted.
Exceptions
-
SecException class –
security exceptions that occurs when an error is encountered while performing the authorization check.