|
I tested it using adopted authority. The first swap worked fine but the swap back failed because of an authority failure.
-----Original Message-----
From: Charles Wilt [mailto:charles.wilt@xxxxxxxxx]
Sent: Thursday, October 10, 2013 11:07 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Authority on Java calls
On Thu, Oct 10, 2013 at 9:47 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:
I guess it's pick-your-poison. If swapping, the application profile
would need either *ALLOBJ or explicit authority to every profile that
would be running the app.
Justin,
You're misunderstanding something I think. With swapping, the program doing the swapping can use adopted authority to gain the authority needed to swap to another profile. The only danger is as Scott points out, you need to make sure that there's no way to exit the program without swapping back.
Charles
As an Amazon Associate we earn from qualifying purchases.
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.