This method implements the authorization logic for a RoleAuthzRequest.
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 checkRole() method on the context returns true for the role specified in the RoleAuthzRequest.