#1 2019-03-05 10:35:28

Chris75018
Member
From: France
Registered: 2012-09-14
Posts: 26
Website

MormotHTTPServer and NOSSPIAUTH

hi,

when I define NOSSPIAUTH directive, I have a compilation error under TSQLHTTPServer.Create().
I make this modification :

const AUTH: array[TSQLHttpServerRestAuthentication] of TSQLRestServerAuthenticationClass = (
  // adDefault, adHttpBasic, adWeak, adSSPI
  TSQLRestServerAuthenticationDefault, TSQLRestServerAuthenticationHttpBasic,
  TSQLRestServerAuthenticationNone,
  {$ifdef MSWINDOWS}
    /*...Modif....*/
     {$ifdef SPPIAUTH}TSQLRestServerAuthenticationSSPI{$else}nil{$endif}
   /*...End...*/
  {$else}nil{$endif});

best regards

Christophe

Offline

#2 2019-03-05 10:55:36

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: MormotHTTPServer and NOSSPIAUTH

I guess https://synopse.info/fossil/info/16c4551627 may be a better way to fix this issue.

Thanks for the feedback.

Offline

#3 2019-03-07 10:40:59

Chris75018
Member
From: France
Registered: 2012-09-14
Posts: 26
Website

Re: MormotHTTPServer and NOSSPIAUTH

Work fine.
Thank's

Offline

Board footer

Powered by FluxBB