The Natural Web I/O Interface client and Natural for Ajax both offer a configuration tool. The configuration tool is used to create the session configurations which are then available in the logon page. It can also be used for logging purposes in case of problems; however, this should only be done when requested by Software AG support.
Two different versions of the configuration tool are available, one for the Natural Web I/O Interface client and another for Natural for Ajax. The configuration tool is automatically installed when you install the Natural Web I/O Interface client or Natural for Ajax on a J2EE server.
This document covers the following topics:
The URL with which you invoke the configuration tool determines the configuration files that are to be managed. You can either manage the configuration files for the Natural Web I/O Interface client or for Natural for Ajax.
To invoke the configuration tool
Enter the following URL in browser, depending on the type of client that you are using:
Natural Web I/O Interface client:
http://<host>:<port>/natuniweb/conf_index.jsp
Natural for Ajax:
http://<host>:<port>/cisnatural/conf_index.jsp
where <host> and <port> are the host name and port number of your application server.
Note:
You might wish to protect the configuration tool against
unauthorized access. See Configuring
Security for information on how to restrict the access to
sensitive areas of the application server environment. If you have restricted
access to the configuration tool, an authentication dialog appears. The
appearance of this dialog depends on the authentication model you have
chosen.
The configuration tool appears. Example for the Natural Web I/O Interface client:
The configuration tool has two frames.
The home page of the configuration tool is initially shown in the right frame. It provides brief descriptions for the links provided in the left frame. It also provides links to several Software AG pages on the web.
When you have invoked a function (for example, when you are currently viewing the session configuration), you can always choose the Home link in the left frame to return to the home page of the configuration tool.
The functions that are invoked by the other links in the left frame are described below.
Note:
With Natural for Ajax, an additional link for invoking the Natural
for Ajax logon page is provided in the left frame.
This section explains how to manage the content of the configuration file for the sessions. It covers the following topics:
The content of the configuration file for the sessions is managed using the Session Configuration page.
To invoke the Session Configuration page
In the frame on the left, choose the Session Configuration link.
The Session Configuration page appears in the right frame. It shows the global settings and lists all sessions and users that are currently defined. For a session, some of the configuration file information is shown. Example:
The global settings apply for all defined sessions. You can define the following global settings in the configuration file:
Option | Description |
---|---|
Last activity timeout (n seconds) |
Timeout after the last activity of the user in seconds. The default is 3600 seconds (1 hour). When the defined number of seconds has been reached, the session is closed. You can also set an individual timeout value for each session (see Overview of Session Options below). |
Trace directory |
Optional. Location of a different trace directory. When a different trace directory is not defined, the trace files are written to the default trace directory. For further information, see Tracing. Tracing can be enabled individually for each session (see Overview of Session Options below). However, it should only be enabled when requested by Software AG support. |
SSL trust file path |
Optional. The path to your trust file. See Trust Files (J2EE only) for further information. |
SSL trust file password |
If your trust file is password-protected, you have to specify the appropriate password. When you do not specify the password for a password-protected trust file, the trust file cannot be opened and it is thus not possible to open an SSL session. When your trust file is not password-protected, you should not specify a password. |
You can add a new session to the configuration file.
To add a new session
Choose the
button.The Edit Session page appears.
Specify all required information as described below in the section Overview of Session Options.
Choose the OK button to return to the Session Configuration page.
The new session is not yet available in the configuration file.
Choose the
button to write the new session to the configuration file.You can edit any existing session in the configuration file.
To edit a session
Choose the Edit link that is shown next to the session that you want to edit.
The Edit Session page appears.
Specify all required information as described below in the section Overview of Session Options.
Choose the OK button to return to the Session Configuration page.
The modifications are not yet available in the configuration file.
Choose the
button to write the modifications to the configuration file.The Edit Session page appears when you
Example for the Natural Web I/O Interface client:
With Natural for Ajax, more options are provided on the Edit Session page:
Note:
If you need to set the protocol version for the Natural Web I/O
Interface (which is only required for older Natural versions), you have to do
this manually in the configuration file. See the description of the
protocol
attribute in the section
Overview of Configuration File
Elements.
The Edit Session page provides the following options:
Option | Description |
---|---|
Session ID | Mandatory. A session name of your choice. On the logon page, the session name is provided in a drop-down list box. |
Type | The platform on which user ID and password are
authenticated. You can select the required setting from the drop-down list box.
|
Show style sheet selector |
Natural for Ajax only. With Natural for Ajax, the users can switch to another style sheet during a running session. If set to No, the users are no longer able to select another style sheet. |
Style sheet |
Natural for Ajax only. The name of the style sheet which determines the colors, fonts and PF key button style of the current session. See Using Style Sheets. When this element is specified, a fixed style sheet is used. In this case, the corresponding field does not appear on the logon page and the user is thus not able to select a different style sheet. |
Host name | The name or TCP/IP address of the server on which Natural and the Natural Web I/O Interface server are running. When this is specified, the corresponding field does not appear on the logon page. |
Port number | The TCP/IP port number on which the Natural Web I/O Interface server is listening. When this is specified, the corresponding field does not appear on the logon page. |
Use SSL | If set to Yes, a secure
connection is established between the Natural Web I/O Interface client or
Natural for Ajax on the application server and the Natural Web I/O Interface
server.
Important: |
User name | Optional. A valid user ID for the current machine. When this is specified, the corresponding field does not appear on the logon page. |
User name in upper case | If set to Yes, the input field for the user ID is in upper-case mode. |
Password | Optional. A valid password for the above user
ID. When this is specified, the corresponding field does not appear on the
logon page.
The configuration tool saves the password in encrypted form. |
Save user credentials |
Natural for Ajax only. Applies only to applications that are designed as Application Designer workplaces. If set to Yes (default), the default behavior of the option Share session user applies. If set to No, the user credentials (user ID and password) are not saved in the Application Designer session and are therefore not available for an Application Designer subsession. An example for a workplace application is available under the following URL: http://<host>:<port>/cisnatural/servlet/StartCISPage?PAGEURL=/njxdemos/wpworkplace.html where <host> and <port> are the host name and port number of your application server. |
Share session user |
Natural for Ajax only. Applies only to applications that are designed as Application Designer workplaces. If set to No (default), the user credentials of the main Application Designer session are automatically used in an Application Designer subsession if the server and port of the subsession is the same as in the main session. If the server and port are not the same, the user has to specify the user ID and password in a logon dialog. If set to Yes, the user credentials of the Application Designer main session are always used for all Application Designer subsessions on all involved servers - even if the server and port are different. |
Application |
When this is specified, the corresponding field does not appear on the logon page. |
Natural parameters |
Optional. Parameters for starting the Natural application. This can be stack parameters, a parameter file/module or other Natural-specific information.
|
Language |
Natural for Ajax only. You can select the required language from the drop-down list box. See also Multi Language Management in the Natural for Ajax documentation. Default: English. |
Double-click behavior |
Natural for Ajax only. Applies only to Natural maps, not to rich GUI pages. The key that is to be simulated when double-clicking an output field. By default, this is the ENTER key. It is possible to disable the double-click behavior, or to define a function key (PF1 through PF12). You can select the required setting from the drop-down list box. Tip: |
PF keys display style |
Natural for Ajax only. Applies only to Natural maps, not to rich GUI pages. By default, only the named function keys are shown as buttons. It is also possible to show buttons for all function keys, including those which do not have names. You can specify whether to display buttons for 12, 24, 36 or 48 function keys. Each line always contains 12 function key buttons. The first line also contains a button for the ENTER key. Each function key button is always displayed at the same position. You can select the required setting from the drop-down list box. |
Screen rows |
Applies only to Natural maps, not to rich GUI pages. The number of rows in the output window. Possible values: minimum 24, no upper limit. Default: 24. Not used by Natural for Mainframes which uses the profile
parameter |
Screen columns |
Applies only to Natural maps, not to rich GUI pages. The number of columns in the output window. Possible values: minimum 80, no upper limit. Default: 80. Not used by Natural for Mainframes which uses the profile
parameter |
Show function key numbers |
Applies only to Natural maps, not to rich GUI pages. If set to Yes, the PF key numbers are shown next to the PF keys. |
Trace | Should only be set to Yes when requested by Software AG support. For further information, see Tracing. |
Timeout (n seconds) | The number of seconds that the client waits for an answer from Natural after an update of a page was sent to Natural. The default is 60 seconds. Normally, you need not change this default value. |
You can add a copy of any existing session to the configuration file.
To duplicate a session
Choose the Duplicate link that is shown next to the session that you want to duplicate.
A new entry is shown at the bottom of the list of sessions. Its name is "Copy of session-ID". The duplicated session is not yet available in the configuration file.
Edit and save the duplicated session as described above.
You can delete any existing session from the configuration file.
To delete a session
Choose the Delete link that is shown next to the session that you want to delete.
The session is deleted from the list of sessions. It is not yet deleted in the configuration file.
Choose the
button to delete the session from the configuration file.You can predefine Natural users and their passwords in the configuration file.
When a Natural page is opened with a URL that specifies a user in the
URL parameter natuser
, the specified user is matched against the
list of users in the configuration file. When the specified user is defined in
the configuration file, the corresponding password is used to authenticate the
user when the Natural session is started. See also
Starting a Natural Application with
a URL.
Example - when the following URL is used, the password defined for "user1" is used:
Natural Web I/O Interface Client
http://myhost:8080/natuniweb/natural.jsp?natuser=user1...
Natural for Ajax
http://myhost:8080/cisnatural/servlet/StartCISPage?PAGEURL=/cisnatural/NatLogon.html&xciParameters.natuser=user1
...
Note:
With Natural for Ajax, the URL parameters have the prefix
xciParameters
.
To add a new user
Choose the
button.The Edit User page appears.
Specify a user name and passwort
Choose the OK button to return to the Session Configuration page.
The new user is not yet available in the configuration file.
Choose the
button to write the new user to the configuration file.Note:
You edit, duplicate and delete a user in the same way as a session
(see the corresponding descriptions above).
When you choose the
button, all of your changes are written to the configuration file. The server picks up the new settings automatically the next time it reads data from the configuration file.Caution:
If you do not choose the button but logout instead or leave the configuration
tool by entering another URL, the new settings are not written to the
configuration file.
The content of the configuration file for logging is managed using the Logging Configuration page. See the section Logging (J2EE only) for detailed information.
The configuration tool provides one or both of the following links in the left frame, depending on the type of client that you are using:
Natural Web I/O Interface Logon
Natural for Ajax Logon (not available with the configuration tool for the Natural Web I/O Interface client)
Each of these links opens the corresponding logon page in the right frame.
The logon page uses the current settings in the configuration file. When you select a session from the drop-down list box, you can check whether the connection details are shown as desired. If not, you can go back to the session configuration and modify the settings of the corresponding session.
See also About the Logon Page.
When the configuration tool is protected against unauthorized access and you log out of the configuration tool, you make sure that no other user can change the client configuration when you leave your PC unattended for a while.
To log out
In the frame on the left, choose the Logout link.
When the configuration tool is protected against unauthorized access, the authentication dialog is shown again.
When it is not protected, the home page is shown again.