Namespace: Consultingwerk.Framework.Authorization
Interface 
IRequestAuthorizationProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.SmartFramework.Authorization.SmartRequestAuthorizationProvider, Consultingwerk.SmartFramework.RequestAuthorizationProvider

File:IRequestAuthorizationProvider
Purpose:Provides Authorization for Requests at the Service
Interface level
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Nov 24 18:40:09 CET 2012
Notes:The implementation of the IRequestAuthorizationProvider
Interface is required to only consider the first piece of
the service name, delimited by either | # or CHR(1), see
method EntityName in the SmartRequestAuthorizationProvider
as an example



Top Method Summary
Options Name Purpose
+ LOGICAL IsFetchDataRestricted (character, IFetchDataRequest) Provides Authorization for FetchData Requests
+ LOGICAL IsInvokeMethodRestricted (character, character, handle, Object) Provides Authorization for InvokeMethod Requests
+ LOGICAL IsInvokeTaskRestricted (character, character, integer, handle, handle, handle, handle, handle, Object) Provides Authorization for InvokeTask Requests
+ LOGICAL IsSaveChangesRestricted (character, handle) Provides Authorization for SaveChanges Requests


Method Detail
Top

PUBLIC LOGICAL IsFetchDataRestricted (character, IFetchDataRequest)

Purpose: Provides Authorization for FetchData Requests
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
poRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest instance with the parameter for the FetchData request
Returns LOGICAL
Logical value indicating if the FetchData request is restricted
Top

PUBLIC LOGICAL IsInvokeMethodRestricted (character, character, handle, Object)

Purpose: Provides Authorization for InvokeMethod Requests
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
pcMethodName CHARACTER
The name of the method to be executed
phDataset HANDLE
The Handle of the Dataset received
poParameter Progress.Lang.Object
The reference to the parameter object
Returns LOGICAL
Logical value indicating if the InvokeMethod request is restricted
Top

PUBLIC LOGICAL IsInvokeTaskRestricted (character, character, integer, handle, handle, handle, handle, handle, Object)

Purpose: Provides Authorization for InvokeTask Requests
Notes:

Parameters:
pcTaskName CHARACTER
The name of the Business Task
pcMethodName CHARACTER
The name of the method to be executed
piNumDatasets INTEGER
The count of the datasets passed to the InvokeTask Method
phDataset1 HANDLE
The Handle of the Dataset received
phDataset2 HANDLE
The Handle of the Dataset received
phDataset3 HANDLE
The Handle of the Dataset received
phDataset4 HANDLE
The Handle of the Dataset received
phDataset5 HANDLE
The Handle of the Dataset received
poParameter Progress.Lang.Object
The reference to the parameter object
Returns LOGICAL
Logical value indicating if the InvokeTask request is restricted
Top

PUBLIC LOGICAL IsSaveChangesRestricted (character, handle)

Purpose: Provides Authorization for SaveChanges Requests
Notes:

Parameters:
pcEntityName CHARACTER
The name of the Business Entity
phDataset HANDLE
The Handle of the Dataset received
Returns LOGICAL
Logical value indicating if the Save Changes request is restricted


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:26:24