Location: Symbol Reference > Classes > TJwComProcessSecurity Class
JWSCL Documentation
TJwComProcessSecurity Class
TJwComProcessSecurity = class(TJwComCustomSecurity);

TJwComProcessSecurity provides wrapper methods for CoInitializeSecurity. They can be used by a COM server or client. Some of them are only for either servers or clients. 

For an application that is COM server and client, use the Initialize method with parameter SecurityData : PJwSecurityInitializationData.

The following tables list the members exposed by TJwComCustomSecurity. 
The methods of the TJwComCustomSecurity class are listed here. 
The properties of the TJwComCustomSecurity class are listed here. 
TJwComProcessSecurity Class
The following tables list the members exposed by TJwComProcessSecurity. 
The methods of the TJwComProcessSecurity class are listed here. 
BeginUpdate is used to start a property update sequence. It must be called before any of the properties are called.
The method CheckReadonly validates whether the ReadOnlyProperties flag is set to true and in case it raises an exception EJwsclReadOnlyPropertyException; otherwise it does nothing. 
The method CoInitializeSecurity wraps the COM API CoInitializeSecurity using converted parameters and exceptions. See the MSDN for more information.
EndUpdate is used to end a property update sequence. Prior to the this call BeginUpdate must be called.
TJwComProcessSecurity Class
Creates a security descriptor using minimum access rights to allow SYSTEM and authenticated users to get full control to the class. 
CreateTightServerSecurityOptions returns settings for a COM server that shall running tight security settings. 
This is the overview for the Initialize method overload. 
MEMBERNAME% contains an information structure depending on the used authentication service (set by property AuthenticationService
The property AuthenticationLevel define when authentication is done. This value is from type TJwComAuthenticationLevel
The property AuthenticationService contains the authentication service. This is one of the enumerations listed in TJwComAuthenticationService
Defines the type of authorization that should be used. The type is TJwComAuthorizationService
Defines a set of TJwComAuthenticationCapability flags that are used in COM calls for various reasons. 
MEMBERNAME% is used in two ways:  
The property ReadOnlyProperties returns the readonly state of the properties. 
The property ServerPrincipalName defines the name defined in the first call to CoInitializeSecurity
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!