I it use for my REST services only. I don't serve any directories.

Do you want use IBMi users? If so, there's an "IBM i user profiles" option you can use instead of a validation list.



-----Original Message-----
From: Maria Lucia Stoppa [mailto:mlstoppa@xxxxxxxxx]
Sent: Tuesday, April 28, 2020 10:45 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Web service HTTP Basic Authentication - where to start from?

@Justin
I tried it and as far as I could tell it works for directories only, which is not my case; also, users in validation list are not IBM i user profiles, just internet users with a name and a password.


Il giorno mar 28 apr 2020 alle ore 17:27 Justin Taylor <JUSTIN@xxxxxxxxxxxxx> ha scritto:

I have Apache configured to use a Validation List. In IBM Web
Administration for i for the server -> Security -> Authentication.
Under "User authentication method", "Internet users in validation
lists" is checked and my validation list object is listed in the "Validation list"
box.

HTH




-----Original Message-----
From: Maria Lucia Stoppa [mailto:mlstoppa@xxxxxxxxx]
Sent: Tuesday, April 28, 2020 12:59 AM
To: RPG programming on IBM i <RPG400-L@xxxxxxxxxxxxxxxxxx>
Subject: Web service HTTP Basic Authentication - where to start from?

Hi all,

I hope you are all fine.

I am working on a project (Vue front-end and Ibm i as DB server via
REST
API) and I would like the REST APIs to answer only after successful
user authentication.

I know very little about basic authentication: I know REST API must be
called with login information set in the headers, but I can't figure
out how to configure the web service HTTP instance to accept it and,
most of all, how these information will be checked against user
profile security on IBM i.

I am reading "IBM HTTP Server for i" reference, but so far nothing has
come up to my attention.

Can you suggest me readings, or examples, or any other resource that
may help me to get into it?

I would like to know a bit more on the subject before paying for a course.

Thank you.


--

Maria Lucia Stoppa
mlstoppa@xxxxxxxxx

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.