AS400 class

The IBM® Toolbox for Java™ AS400 class manages a set of socket connections to the server jobs on server and sign-on behavior for the server, including prompting the user for sign-on information, password caching, and default user management.

The Java program must provide an AS400 object when the Java program uses an instance of a class that accesses the IBM i system. For example, the CommandCall object requires an AS400 object before it can send commands to the system.

The AS400 object handles connections, user IDs, and passwords differently when it is running in the IBM i Java virtual machine. For more information, see IBM i Java virtual machine.

AS400 objects now support Kerberos authentication, using the Java Generic Security Service Application Programming Interface (JGSS API) to authenticate to the server, instead of using a user ID and password.

Note: Using Kerberos tickets requires that you install J2SDK, v1.4 and configure the Java Generic Security Services (JGSS) Application Programming Interface. For more information about JGSS, see the J2SDK, v1.4 Security Documentation Link outside information center.

See managing connections for information about managing connections to the server through the AS400 object. See the AS400ConnectionPool Javadoc for information about reducing initial connect time by requesting connections from a connection pool.

The AS400 class provides the following sign-on functions:

For information about using an AS400 object when sending or receiving encrypted data, see the SecureAS400 class.