× 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.


  • Subject: Re: Instantiating an AS400 object
  • From: "Dave Wall" <dawall@xxxxxxxxxx>
  • Date: Wed, 10 Jan 2001 12:26:51 -0600
  • Importance: Normal


I think what Kevin is trying to do is forward the current job's security
attributes (userid and password) to the server on the target system.  If
the Java program is running on the AS/400, it is running in an AS/400 job
(with all the attributes of all AS/400 jobs).  If you specify *current or
use the default c'tor, the AS400 object extracts the current job's userid
and password and forwards them to the server as the authentication
information.  If you have matching profiles on the source and target
system, you can connect using this mechanism.  This is probably most
useful, however, when the Java program and data are on the same AS/400.  In
many cases the Toolbox still uses servers to get data.  Using the servers
means supplying a userid and password.  The Toolbox can extract the
userid/password from the current job and send them to the server.

David Wall
AS/400 Toolbox for Java


Eric Merritt <cyberlync@yahoo.com>@midrange.com on 01/10/2001 09:51:07 AM

Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   JAVA400-L@midrange.com
cc:
Subject:  Re: Instantiating an AS400 object



That would make sence. WHen you instantiate the as400
object there is no current user or password. It has no
idea if you are logged on through an emulator or if
ther is another as400 object already connected. Also,
as near as I can tell, the 400 does not keep track of
which connections come from which host. I believe you
will be forced to set up an actual username and
passowrd to login with.


--- "Adams, Kevin" <Kevin.Adams@ps.net> wrote:
> Anyone having trouble creating an AS400 object using
> *CURRENT for the
> username and password?
> When I try to connect to one of the services (i.e.
> AS400.RECORDACCESS) it
> tells me that the current user is 'null'.
>
> Any suggestions?
> -Kevin
>
> Kevin Adams
> perotsystems
> 972.577.3154
> kevin.adams@ps.net
>
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to
> JAVA400-L@midrange.com.
> | To subscribe to this list send email to
> JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner:
> joe@zappie.net
> +---


=====
Eric Merritt
Information Systems Consultant
McCormack & Associates, Inc.
Rock Hill, South Carolina
(V) 803-327-3358 X 225
eric@mccinc.com
http://www.mccinc.com/

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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.