Got it -- I have to use jt400Native,jar rather than jt400.jar.  When I
made this change it worked with no problem. 

-----Original Message-----
From: java400-l-bounces+msilvers=hbs-inc.com@xxxxxxxxxxxx
[mailto:java400-l-bounces+msilvers=hbs-inc.com@xxxxxxxxxxxx] On Behalf
Of David Gibbs
Sent: Monday, January 29, 2007 3:09 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Changing user profiles - ProfileTokenCredential

Mike Silvers wrote:
V5R3 -- I am running it on the 400 itself -- but I keep getting the 
exception com.ibm.as400.security.auth.SwapFailedException: Request is 
not supported.

My java app is running on a PC, so that might be a significant
difference.

Perhaps set the AS400 object to 'mustUseSockets(true)'?

Does the user profile the java process is running as have *USE authority
to the profile you are swapping to?

david

--
New merchandise at the midrange.com shop:
http://www.cafepress.com/midrangedotcom
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.