× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.