This method implements the authorization logic for a FineGrainedAuthzRequest.
Syntax
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. The decision is set to PERMIT if the current subject is allowed to perform the action on the resource specified in the request.
Usage
an AuthzResponse describing if the request was Denied or Permitted. The decision is set to PERMIT if the current subject is allowed to perform the action on the resource specified in the request.