Configuring the Workstation Gateway Server
Youdo not need to configure much to begin using the workstation gateway server.
Most configuration options have default settings.
Toconfigure the workstation gateway server, use the

Configure TCP/IP Workstation

Gateway

(CFGTCPWSG) command.
Before you start the workstation gateway server for the first time, perform the
following steps:
1. Change the

Display Sign-on Panel

option to *YES.
For information on making this change, see Figure 202on page 324. Look for
the option marked 5, explained in “Display Sign-on Panel (DSPSGN)” on
page 325.
2. Configure and use the user exit.
For information about configuring and using the user exit for the workstation
gateway server, see “Using a WSG exit progam to bypass theAS/400 Sign-on
Display” on page 571.
The changes take effect the next time you start the workstation gateway server. For
information on starting the workstation gateway server, see “Starting the
Workstation Gateway Server” on page320.
Note: The workstation gateway server might not recognize some customized
sign-on panels. This is because the workstation gateway server expects
input fields in certain locations. If the input fields differ greatly from the
default sign-on panel shipped with the AS/400 system, a possibility exists
that the system might fail to recognize the display as a sign-on panel. If, for
example, a user exit returns a bad user profile, password, or other field, then
the sign-on attempt fails. However, the workstation gateway server does not
recognize the display as a sign-on panel, so the workstation gateway server
continues processing and sends the sign-on panel to the Web browser.This
is why you need to test your customized sign-on panel with the workstation
gateway server and ensure that the workstation gateway server recognizes it
before you start using the workstation gateway server.
Totest your customized sign-on panel, start with the default sign-on panel. Make
small changes and test each change. When the workstation gateway server no
longer sends out the AS/400 sign-on panel, this means it now recognizes your
customized display.
If you use *NO for the

Display Sign-on Panel

parameter, the workstation gateway
server only serves sign-on panels through a user exit. If no user exit is configured,
the workstation gateway server does nothing. If you have configured a user exit,
then the workstation gateway server attempts to identify any sign-on attempt that
was not successful. An unsuccessful sign-on attempt occurs, for example, when the
user exit provides a bad user profile or password. In these cases, the workstation
gateway server does not send a sign-on panel to the requester.
Chapter10. Workstation Gateway Server 321