Thanks Jack,
I went through the links provided and while relevant for web
page/directory access I was unable to understand how this would apply to a
web service on IBMi using the IWS server.
As I have minimal knowledge in this area I may be mis understanding
implementing authority for a web service in the apache directives.
Maybe someone has a more IBMi specific reference or example.
Also while I would be thrilled to attend your session at PowerUp the
travel cost and current exchange rate from Oz to US has put this out of
my reach - Maybe you can share your presentation :-)
Thanks
Don
From: "Jack Woehr" <jack.woehr@xxxxxxxxxxx>
To: "midrange-l@xxxxxxxxxxxxxxxxxx" <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: "Don Brown" <DBrown@xxxxxxxxxx>
Date: 18/04/2024 11:49 PM
Subject: Re: Basic authentication for REST Web Service on IWS
Don --
IWS REST APIs have 2 parts ... the App Server and the HTTP Server.
basic auth is handled by the apache http server instance.
See
https://httpd.apache.org/docs/2.4/howto/auth.html about basic auth.
There are ways to get more fancy.
The avant garde are moving to placing IBM i APIs behind an API gateway
like the open source Apache APISIX.
But that's probably for another day 🙂
I have a session Web Application Implementation Patterns for IBM i at
COMMON POWERUp in Ft. Worth.
Jack
We are now creating a REST web service that will be access remotely using
IWS and we want to add authentication.
--
This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
As an Amazon Associate we earn from qualifying purchases.