Prompting for user IDs and passwords

Prompting for user ID and password may occur when connecting to the server. Prompting can be turned off by your Java™ program.

Java programs can turn off user ID and password prompting and message windows displayed by the AS400 object. An example of when this may be needed is when an application is running on a gateway on behalf of many clients. If prompts and messages are displayed on the gateway machine, the user has no way of interacting with the prompts. These types of applications can turn off all prompting by using the setGuiAvailable() method on the AS400 object.

See Prompting, default user ID, and password caching summary for more information.