Location: Symbol Reference > Classes > TJwComServerSecurity Class > TJwComServerSecurity Members
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwComServerSecurity Members

The following tables list the members exposed by TJwComServerSecurity.

 
Name 
Description 
 
BeginUpdate is used to start a property update sequence. It must be called before any of the properties are called.
TJwComCustomSecurity 
 
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.
 
 
Name 
Description 
 
The property ReadOnlyProperties returns the readonly state of the properties. 
 
The property ServerPrincipalName defines the name defined in the first call to CoInitializeSecurity
 
Name 
Description 
 
The method TJwComServerSecurity.AccessCheck checks whether the current client's identity.has access regarding the given security descriptor and desired access rights. 
 
The method TJwComServerSecurity.AccessCheckCached checks whether the current client's identity.has access regarding the given security descriptor and desired access rights. It uses and already calculated access check result created by a previously call to TJwComServerSecurity.AccessCheckCached. 
 
Creates a COM server instance. 
 
Impersonates the current thread and removes any previous thread token. 
 
Returns true if the current thread has a token assigned (is impersonating); otherwise false.
The function does not distuingish between a client token connected to the server and any other assigned token. 
 
Removes the thread token. 
 
Name 
Description 
 
The authentication context used by AccessCheck. This value is nil if AccessCheck wasn't called yet.
On write the current instance of the authentication context is freed and the value is directly written to the internal instance variable. So do not free it yourself, the class instance will do it.
Do not free the instance and then call AccessCheckCached
 
The property AuthenticationInfo 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
 
The authentication manager used by AccessCheck. This value is nil if AccessCheck wasn't called yet.
On write the current instance of the authentication manager is freed and the value is directly written to the internal instance variable. So do not free it yourself, the class instance will do it.
Do not free the instance and then call AccessCheckCached
 
Defines the type of authorization that should be used. The type is TJwComAuthorizationService
 
Defines the type of authorization that should be used. The type is TJwComAuthorizationService
 
MEMBERNAME% is used in two ways:  
 
Returns the client token.
This instance is cached by the class and must not be freed.
A first read call impersonates the user and removes a previously set thread token. Therefore all subsequent calls will run on the process token.
If ImpersonationLevel is cilAnonymous an exception EJwsclNoThreadTokenAvailable is raised. 
 
Returns the user's name connected to the server. Either it uses the current thread token or it impersonates the user if no thread token is available. If ImpersonationLevel is cilAnonymous the return value is an empty string. 
 
WinNTIdentity contains the user's identity if the property AuthenticationService is asWinNT or asGSSKerberos; otherwise it is nil.
This instance is cached by the class and must not be freed. 
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!