C# Class GSF.Security.Authentication.IntegratedSecurityServer

Uses windows integrated security to authentication. This uses NTLM in non-domain environments and Kerberos in domain environments.
Inheritance: GSF.Diagnostics.DisposableLoggingClassBase
显示文件 Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Properties

Property Type Description
Users IntegratedSecurityUserCredentials

Public Methods

Method Description
IntegratedSecurityServer ( ) : System

Creates a new IntegratedSecurityServer.

Load ( Stream stream ) : void

Loads from the supplied stream.

Save ( Stream stream ) : void

Saves to the supplied stream.

TryAuthenticateAsServer ( Stream stream, System.Guid &userToken, byte additionalChallenge = null ) : bool

Authenticates the client stream

Method Details

IntegratedSecurityServer() public method

Creates a new IntegratedSecurityServer.
public IntegratedSecurityServer ( ) : System
return System

Load() public method

Loads from the supplied stream.
public Load ( Stream stream ) : void
stream Stream
return void

Save() public method

Saves to the supplied stream.
public Save ( Stream stream ) : void
stream Stream
return void

TryAuthenticateAsServer() public method

Authenticates the client stream
public TryAuthenticateAsServer ( Stream stream, System.Guid &userToken, byte additionalChallenge = null ) : bool
stream Stream The stream to autenticate
userToken System.Guid the user token associated with the identity match
additionalChallenge byte Additional data that much match between the client and server /// for the connection to succeed.
return bool

Property Details

Users public_oe property

The location for all of the supported identities
public IntegratedSecurityUserCredentials,GSF.Security.Authentication Users
return IntegratedSecurityUserCredentials