Pathway/iTS Web Client Programming Manual (G06.24+)
Logon Security and User Profiles
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
3-3
User Profile Options in the Control File
The TERMINAL-PRINTER and LOGICAL-TERMINAL-NAME fields correspond to
the SCREEN COBOL special registers of the same names. The five USER-PROFILE-n
fields are new special registers in the applet; these fields have no corresponding special
registers in SCREEN COBOL programs. Java definitions of the special registers are
given under Special-Register Classes
on page 6-112.
After the applet has received the values of these special registers from the NonStop
Himalaya host, the applet uses the values during execution, just as a SCREEN COBOL
requester does.
User Profile Options in the Control File
Whether an end user is required to enter a password or a user profile is controlled by the
userAuthenticate and getProfile parameters in the control file that is generated by the
CONVERT command. The encoding parameter specifies which byte-to-string
conversion scheme the applet should use.
The control file is named appname_CONTROL.html or
initprog_CONTROL.html and contains the following:
<HTML> <HEAD>
<META HTTP-EQUIV="Content-Type" content="text/html;
charset=iso-8859-1">
<TITLE> Control Frame </TITLE>
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT> </HEAD>
<BODY>
<applet code="APPNAME_MAINAPP.class", name="PathwayiTS",
archive="itsjlib.jar", width=10, height=10, MAYSCRIPT >
<param name=portnumber value="PORT_NUMBER" >
<param name=sessionlength value="20" >
<param name=userAuthenticate value="true" >
<param name=getProfile value="true" >
<param name=encoding value="8859_1" >
</applet>
</BODY> </HTML>