pascalSCADA OPM: ControlSecurityManager: Class TControlSecurityManager

Pascal SCADA OPM

Class TControlSecurityManager

Unit

ControlSecurityManager

Declaration

type TControlSecurityManager = class(TComponent)

Description

TControlSecurityManager

Hierarchy

  • TComponent
  • TControlSecurityManager

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function Login(Userlogin, Userpassword: UTF8String; var UID: Integer):Boolean; overload;
Public function Login:Boolean; overload;
Public procedure Logout;
Public procedure Manage;
Public function GetCurrentUserlogin:UTF8String;
Public procedure TryAccess(sc:UTF8String);
Public procedure RegisterControl(control:IHMIInterface);
Public procedure UnRegisterControl(control:IHMIInterface);
Public procedure UpdateControls;
Public function CanAccess(sc:UTF8String):Boolean;
Public procedure ValidateSecurityCode(sc:UTF8String);
Public procedure RegisterSecurityCode(sc:UTF8String);
Public procedure UnregisterSecurityCode(sc:UTF8String);
Public function SecurityCodeExists(sc:UTF8String):Boolean;
Public function GetRegisteredAccessCodes:TStringList;
Public function CheckIfUserIsAllowed(sc:UTF8String; RequireUserLogin:Boolean; var userlogin:UTF8String):Boolean;

Properties

Published property UserManagement: TBasicUserManagement read FUserManagement write SetUserManagement;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public function Login(Userlogin, Userpassword: UTF8String; var UID: Integer):Boolean; overload;
 
Public function Login:Boolean; overload;
 
Public procedure Logout;
 
Public procedure Manage;
 
Public function GetCurrentUserlogin:UTF8String;
 
Public procedure TryAccess(sc:UTF8String);
 
Public procedure RegisterControl(control:IHMIInterface);
 
Public procedure UnRegisterControl(control:IHMIInterface);
 
Public procedure UpdateControls;
 
Public function CanAccess(sc:UTF8String):Boolean;
 
Public procedure ValidateSecurityCode(sc:UTF8String);
 
Public procedure RegisterSecurityCode(sc:UTF8String);
 
Public procedure UnregisterSecurityCode(sc:UTF8String);
 
Public function SecurityCodeExists(sc:UTF8String):Boolean;
 
Public function GetRegisteredAccessCodes:TStringList;
 
Public function CheckIfUserIsAllowed(sc:UTF8String; RequireUserLogin:Boolean; var userlogin:UTF8String):Boolean;
 

Properties

Published property UserManagement: TBasicUserManagement read FUserManagement write SetUserManagement;
 

Generated by PasDoc 0.14.0.