Class AuthorizingHttpHandler

Handles all the necessary steps for an authorization. Errors if authorization fails, otherwise passes the parameter to the operationHandler handler. The following steps are executed:

  • Extracting credentials from the request.
  • Extracting the required permissions.
  • Reading the allowed permissions for the credentials.
  • Validating if this operation is allowed.

Hierarchy

Constructors

Properties

authorizer: Authorizer
credentialsExtractor: CredentialsExtractor
logger: Logger = ...
modesExtractor: ModesExtractor
operationHandler: OperationHttpHandler
permissionReader: PermissionReader

Methods