Asks whether a subject may perform an action on a resource.
Allowed without asking when no decider is installed, when
xacml.enforceAccess is off, or when the request names no resource or
action. In product mode a fault (no decider, a throw, an empty answer, a
check naming nothing) is a refusal; development allows it. Each is logged.
Parameters
Optionalrequest: AccessRequest
the resource, action, subject (from the security context,
never the request), owner, required roles and context
Returns AccessAnswer
the answer; allowed is what a caller branches on, and
decision, why and policy are for the log
Asks whether a subject may perform an action on a resource.
Allowed without asking when no decider is installed, when
xacml.enforceAccessis off, or when the request names no resource or action. In product mode a fault (no decider, a throw, an empty answer, a check naming nothing) is a refusal; development allows it. Each is logged.