IBM AS/400e Computer Hardware User Manual


 
User profile
OUTPUT:CHAR(10) The user profile to be used for the sign-on procedure. This
parameter is required. It must be left justified and padded with blanks.
Password
OUTPUT:CHAR(10) The password to be used for the sign-on procedure. This
parameter is required. It must be left justified and padded with blanks.
Current library
OUTPUT:CHAR(10) The library in which the program to be called is located.
This parameter is optional. It must be left justified and padded with blanks. If
you do not supply a library, the WSG server uses the default of *USRPRF.
Program to call
OUTPUT:CHAR(10) The name of the program to be called. This parameter is
optional. It must be left justified and padded with blanks. If you do not supply a
program name, the WSG server uses the default of *USRPRF.
Initial menu
OUTPUT:CHAR(10) The name of the initial menu to display. This parameter is
optional. It must be left justified and padded with blanks. If you do not supply a
menu name, the WSG server uses the default of *USRPRF.
Session end URL
OUTPUT:CHAR(300) The URL link, which should be sent to the web browser
when the WSG session is ended. The system strips all trailing blanks. If you do
not specify a URL, then the default action is to post timing statistics.
See “Using a WSG exit progam to bypass the AS/400 Sign-on Display” for more
information on the workstation gateway server sign-on exit point and a sample
program.
Using a WSG exit progam to bypass the AS/400 Sign-on Display
The WSG Application Logon exit point allows you to bypass the AS/400 sign-on
display and call an application directly without the client browser sending a user
profile or password. This allows you to provide
any
application to client browsers
without requiring a sign-on. To allow users to bypass the sign-on display, your
program must authenticate the client request and provide sign-on information to the
workstation gateway server. The workstation gateway server then uses the output of
your exit program to perform the sign-on for the client.
You may pass information to the exit program by adding (concatenating) it to the
end of the URL after “QAPP0100” as follows:
http://hostname:port/WSG/QAPP0100?op_specific_parm
where:
v http://hostname:port defines the protocol, host system and port number
v /WSG indicates that this is a request for the workstation gateway.
v /QAPP0100 tells the WSG server to call any registered exit program.
v ? is the delimiter between the QAPP0100 string and the actual parameter.
v op_specific_parm is information for the exit program.
When the exit program gets control, it must validate the request by using the
supplied Internet Protocol address and any operation-specific information passed to
it.
Appendix E. TCP/IP Application Exit Points and Programs 571