The 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 iSeries™ server. For example, the CommandCall object requires an AS400 object before it can send commands to the iSeries server.
The AS400 object handles connections, user IDs, and passwords differently when it is running in the iSeries Java virtual machine. For more information, see iSeries 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.
See managing connections for information on managing connections to the iSeries server through the AS400 object. See AS400ConnectionPool for information on 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.