mORMot and Open Source friends
Check-in [36ccbf02db]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:{1079} ensured SynCommons.GetTickCount64 is used in SynSSPIAuth.pas, and not the version in Windows.pas
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 36ccbf02db91d238441bf99a8966a18b3bc94fee
User & Date: ab 2015-03-13 16:28:43
Context
2015-03-16
07:47
{1080} fixed JsonToObject() j2oIgnoreUnknownProperty propagation to nested TCollection/TObjectList fields check-in: 79148a2918 user: ab tags: trunk
2015-03-13
16:28
{1079} ensured SynCommons.GetTickCount64 is used in SynSSPIAuth.pas, and not the version in Windows.pas check-in: 36ccbf02db user: ab tags: trunk
10:58
{1078} fix for [86d1338aa2], i.e. TSQLRestServerAuthenticationSSPI.ClientSetUser() with aUserName as 'DomainName\UserName' and aPassword as plain password check-in: adb7018c13 user: ab tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to SynSSPIAuth.pas.

68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
...
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
    with clear text password

}

interface

uses
    SysUtils, SynCommons;

{$I Synopse.inc} // define HASINLINE

type
  /// Windows Authentication context handle
  TSecHandle = record
    dwLower: PtrInt;
................................................................................
  SECPKGNAMEHTTPWWWAUTHENTICATE = 'WWW-Authenticate: '+SECPKGNAMEINTERNAL;
  /// HTTP header pattern received for SSPI authentication
  SECPKGNAMEHTTPAUTHORIZATION = 'AUTHORIZATION: NEGOTIATE ';


implementation

uses
  Windows;

type
  TSecBuffer = record
    cbBuffer: Cardinal;   // Size of the buffer, in bytes
    BufferType: Cardinal; // Type of the buffer
    pvBuffer: Pointer;    // Pointer to the buffer
  end;
  PSecBuffer = ^TSecBuffer;






|







 







<
<
<







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
...
171
172
173
174
175
176
177



178
179
180
181
182
183
184
    with clear text password

}

interface

uses
  Windows, SysUtils, SynCommons;

{$I Synopse.inc} // define HASINLINE

type
  /// Windows Authentication context handle
  TSecHandle = record
    dwLower: PtrInt;
................................................................................
  SECPKGNAMEHTTPWWWAUTHENTICATE = 'WWW-Authenticate: '+SECPKGNAMEINTERNAL;
  /// HTTP header pattern received for SSPI authentication
  SECPKGNAMEHTTPAUTHORIZATION = 'AUTHORIZATION: NEGOTIATE ';


implementation




type
  TSecBuffer = record
    cbBuffer: Cardinal;   // Size of the buffer, in bytes
    BufferType: Cardinal; // Type of the buffer
    pvBuffer: Pointer;    // Pointer to the buffer
  end;
  PSecBuffer = ^TSecBuffer;

Changes to SynopseCommit.inc.

1
'1.18.1078'
|
1
'1.18.1079'