Namespace: Consultingwerk.SmartFramework.Authorization
Class 
SmartFieldAuthorizationProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Authorization.IFieldAuthorizationProvider

File:SmartFieldAuthorizationProvider
Purpose:SmartDB driven field authorization provider implementation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Mar 31 21:19:51 CEST 2015



Top Method Summary
Options Name Purpose
+ Consultingwerk.Framework.Authorization.FieldRestrictionEnum IsFieldRestricted (Object, character, character) Provides authorization for fields
+ RefreshFieldSecurityItemCache () Refreshes the cache of field security items
# Consultingwerk.Framework.Authorization.FieldRestrictionEnum SecurityCheck (ISecurityService, character, character, character, character, FieldRestrictionEnum) Performs field security check for a single Realm (Visible/Enabled)

Top Constructor Summary
Options Name Purpose
+ SmartFieldAuthorizationProvider () Constructor for the SmartFieldAuthorizationProvider class


Method Detail
Top

PUBLIC Consultingwerk.Framework.Authorization.FieldRestrictionEnum IsFieldRestricted (Object, character, character)

Purpose: Provides authorization for fields
Notes:

Parameters:
poRequestor Progress.Lang.Object
The reference to the requesting object
pcFieldName CHARACTER
The field name to secure
pcSecurityKey CHARACTER
The security key of the field's container (Viewer, Browser)
Returns Consultingwerk.Framework.Authorization.FieldRestrictionEnum
The FieldRestrictionEnum value
Top

PUBLIC RefreshFieldSecurityItemCache ()

Purpose: Refreshes the cache of field security items
Notes:

Top

PROTECTED Consultingwerk.Framework.Authorization.FieldRestrictionEnum SecurityCheck (ISecurityService, character, character, character, character, FieldRestrictionEnum)

Purpose: Performs field security check for a single Realm (Visible/Enabled)
Notes:

Parameters:
poSecurityService Consultingwerk.SmartFramework.Authorization.ISecurityService
The reference to the ISecurityService implementation
pcObjectName CHARACTER
The name of the requesting object
pcFieldName CHARACTER
The field name to secure
pcSecurityKey CHARACTER
The security key of the field's container (Viewer, Browser)
pcSecurityRealm CHARACTER
The field security realm value to check
poFieldRestrictionEnum Consultingwerk.Framework.Authorization.FieldRestrictionEnum
The FieldRestrictionEnum value to return when restricted
Returns Consultingwerk.Framework.Authorization.FieldRestrictionEnum
The FieldRestrictionEnum value


Constructor Detail
Top

PUBLIC SmartFieldAuthorizationProvider ()

Purpose: Constructor for the SmartFieldAuthorizationProvider class
Notes:



©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:35:30