Atozed Forums
Is there ntlm/kerberos authentication for Indy Http Server? - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Indy (https://www.atozed.com/forums/forum-8.html)
+--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html)
+--- Thread: Is there ntlm/kerberos authentication for Indy Http Server? (/thread-1244.html)



Is there ntlm/kerberos authentication for Indy Http Server? - X-Cite! - 09-16-2019

Is there ntlm/kerberos authentication for Indy Http Server?


RE: Is there ntlm/kerberos authentication for Indy Http Server? - rlebeau - 09-16-2019

(09-16-2019, 07:04 AM)X-Cite! Wrote: Is there ntlm/kerberos authentication for Indy Http Server?

Not natively, no. At this time, TIdHTTPServer only implements BASIC authentication directly.

You can use the TIdHTTPServer.OnParseAuthentication event to implement custom authentications. For instance, by using Microsoft's SSPI API to handle NTLM/Kerberos authentication. Though, NTLM requires multiple HTTP messages back and forth, which you would have to handle manually, as TIdHTTPServer does not really handle when a request requires multiple messages to complete authentication.