EMS.ResourceTypes.TEMSResourceEndPointSuffix.DoAuthorizeRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoAuthorizeRequest(const AContext: TEndpointContext); override;

C++

virtual void __fastcall DoAuthorizeRequest(Ems::Resourceapi::TEndpointContext* const AContext);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
EMS.ResourceTypes.pas
EMS.ResourceTypes.hpp
EMS.ResourceTypes TEMSResourceEndPointSuffix

Description

Determines whether or not the access control lists of the EMS Server authorize the request of the specified endpoint context, and raises an exception if the EMS Server does not authorize the request.

If the EMS Server does not authorize the request, DoAuthorizeRequest calls RaiseUnauthorized on the Response property of the endpoint context.

TEMSCommonResource.HandleRequest calls DoAuthorizeRequest on one of its endpoint objects that can handle the specified endpoint context. After TEMSCommonResource.HandleRequest calls DoAuthorizeRequest, TEMSCommonResource.HandleRequest calls DoHandleRequest on that same endpoint object.

See Also