Jump to content
PZim

ICS - THttpCli with authentication Kerberos

Recommended Posts

Hello,

Actually we have an application writen with Delphi 2006, that makes several requests HTTP, in an active directory environment.
We want to change the protocol from NTLM authentication to Kerberos.

Based on the documentation provided, we can use the component TRestOAuth to obtain a authentication token. (Kerberos)
We can read in the documentation : (http://wiki.overbyte.eu/wiki/index.php/FAQ_Using_TRestOAuth) 

'The preferred authorization method is for the native application to launch the standard browser and redirect to localhost where a small web server
 runs to capture the Authorization Code. That is how TRestOAuth works, transparently to the user, capturing the Authorization Code and using
 it for a token grant to get an Access Token.'

We are looking for an example of how to implement a authentication Kerberos.
As we understand the explanation from your documentation, we must also install a small web server onto the client post.

In this way, do we use a solution like keycloak ? https://www.keycloak.org/

Thanks for your help

Share this post


Link to post

I know nothing about Kerberos, never knowingly used it.  I don't believe it has any connection to OAuth, except they both end up with an access token from an authentication server.

But since Windows uses Kerberos, I assume it can be used unattended without user interaction, which is not the case with OAUth which is designed for interactive web applications. 

So I doubt the TRestOAuth component will be much use in implementing Kerberos, although our OpenSSL implementation should handle encryption.

For Windows applications, I would assume there are API calls that will handle Kerberos in the same way that NTLM authentication is handled, but again I've never look at that and have no plans to do so.

Angus
 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×