× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Justin Taylor wrote:
The saga continues...

I have WAS configured for EIM, verified with the testIdentityToken application. I have incorporated portions of the testIdentityToken source into my EGL code. It appears to obtain an IdentityToken correctly, but the actual iSeries connection, "AS400.connectService(AS400.RECORDACCESS)", returns a "com.ibm.as400.access.AS400SecurityException: User ID is not known." error.
As I noted in EGL Cafe, are you trying to get the EGL connection to work, or are you trying to get the testIdentityToken Java code to work when invoked as a native class from EGL?

The EGL connection won't work yet because it doesn't have support for the setIdentityToken method. But if you can get the testIdentityToken code to work from within an EGL session, then we ought to be able to find out what needs to be added to the EGL code to get the token.

One possibility is for IBM to expose the AS400 object to a native method so that you can set that value yourself. The cleaner way is to have a method SysLib.setRemoteUser("*TOKEN") which will cause the EGL code to get the token from the HTTP session.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.