× 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.



Maybe I'm dense (probably so) but if the user calling this function has an
IBM i profile and is creating a new one, then the user calling the function
should be able to provide a valid password the API could validate. The
Java Project as I quickly looked at it, stores and retrieves environment
variables. Cool, yes, but to store a password that enables one to create
other user profiles, I wonder about the wisdom of that .

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects


On Tue, Aug 20, 2024 at 9:29 AM Jack Woehr via JAVA400-L <
java400-l@xxxxxxxxxxxxxxxxxx> wrote:

Check out the dotenv-java project https://github.com/cdimascio/dotenv-java


________________________________
From: JAVA400-L <java400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Nair,
Dilip <Dilip.Nair@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 20, 2024 8:24 AM
To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxxxxxxxx

Subject: RE: [EXTERNAL] Re: AS400 Object

[You don't often get email from dilip.nair@xxxxxxxxxxxxxxx. Learn why
this is important at https://aka.ms/LearnAboutSenderIdentification ]

CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.

Thanks for the quick response

We would like to secure the password used to create the AS400 object.
This is what we do
AS400 sys = new AS400(system , genericuser ,password)

Sys.validatesignon(username , userpassword)

Password for the creating the sys object is hardcoded and would like to
take it off the code..

Dilip Nair
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.


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.