I'm writing a CGI program.
I've been trying to use the "ProfileToken on" directive in the PBA web
server to give my program the level of authority of the requesting user,
but I'm having problems.
I'm able to find the HTTP_AS_AUTH_PROFILETKN environment variable, and
retrieve it's value. Watching the program in debug, I can see that it's
retrieving a 32-byte value that's a series of "random" letters and numbers
(possibly something that's base64 encoded.)
When I pass this profile token to the QSYSETPT API, the API returns
CPF2274 "Profile Token Not Valid."
I've been banging my head against the wall trying to figure out what I
could be doing wrong, but to no avail. Surely it's not possible that
Apache is somehow generating invalid tokens, is it?
What could I be doing wrong?
Scott Klement http://www.scottklement.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2022 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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.