Hi Guys,
I'm using PB 2017 R3 at the moment and have been trying-out HTTPClient. Can someone please let me know how I can get it to use Windows Authentication for authorization/authentication? An example code will be great.
Thanks.
Ricardo
Hi Guys,
I'm using PB 2017 R3 at the moment and have been trying-out HTTPClient. Can someone please let me know how I can get it to use Windows Authentication for authorization/authentication? An example code will be great.
Thanks.
Ricardo
Hi Ricardo, our plan is try to support Windows Authentication method for the HTTPClient object in PB 2022 R2.
Hi Ricardo,
You can implement Windows Authentication for authorization/authentication by using Visual Guard : you will add a set of PBLs & dlls to your PB App. They include low-level functions, that will create a proxy and connect automatically to Active Directory, to identify users with their Windows account.
You can then choose whether users should provide their Windows credentials again before entering the application, or if they would be logged-in automatically (Single Sign-On )...
Regards,
Christophe
Hi Chris,
Thanks very much for your response. I was just chatting with a workmate who's a SharePoint/.Net Developer, but no PowerBuilder background, and he says I should be using NTLM authentication, passing the credentials. I've been Googling for examples on how to do this (using HTTPClient GET), passing an internal SharePoint URL http://demdgdocuments/1-111/Documents/2017, for example, but still no luck. Can you please give me example codes on how I go about using NTLM authentication using the new PB objects like HTTPClient? If I pass the current user's credentials, how do I properly get it from Windows. When I use GetURL, I get no issues at all with the same URL.
Thanks.
Ricardo
Hi Ricardo;
Are you thinking of using the MS-Windows User's ID & Password with say the TLS 1.2 protocol but utilizing encryption for this?
FYI: https://en.wikipedia.org/wiki/Digest_access_authentication
Regards ... Chris