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
As an Amazon Associate we earn from qualifying purchases.