Re: [EXTERNAL] Re: AS400 Object

Jack Woehr via JAVA400-L <[email protected]> Tue, 20 Aug 2024 14:29:05 +0000
Newsgroups gmane.comp.lang.as400.java
Message-ID <BN7PR11MB277160B14010FB4B8F474323888D2@BN7PR11MB2771.namprd11.prod.outlook.com>
Check out the dotenv-java project https://github.com/cdimascio/dotenv-java


________________________________
From: JAVA400-L <java400-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org> on behalf of Nair, Dilip <[email protected]>
Sent: Tuesday, August 20, 2024 8:24 AM
To: Java Programming on and around the IBM i <[email protected]>
Subject: RE: [EXTERNAL] Re: AS400 Object

[You don't often get email from [email protected] 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: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.