MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2014

Re: Password checking for web service calls



fixed

On 6/10/14 11:01 AM, Jeff Young wrote:
I believe that if the profile/password is not valid, the API will return an
error that you can test.

QSYGETPH does EXACTLY that; that's the only thing I use it for. From my point of view, creation of a profile handle is a side effect, at best benignly useless, and at worst harmful.

QSYCHGPR and the CHKPWD CL command only work for the user profile under which they're executed; they don't have a parameter to pass an arbitrary user ID (or, in the case of QSYCHGPR, even a password).

--
JHHL





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact