Exercise 10.1: Removing the default user ID and password

You will use the CL command properties page of the runtime to remove the default user ID and password information.

In the WebFacing perspective in the WebFacing Projects view:

  1. Right-click wflabxx project.
  2. Click Properties on the pop-up menu.

    The Properties for wflabxx dialog opens.

  3. Under Run Time in the left pane of the Properties dialog, select Order Entry Application.
    Project properties dialog

    The Order Entry application properties pane opens.
    Application properties page

  4. Make sure the Override project settings for this command check box is selected.
  5. Uncheck the Specify OS/400 signon values check box.
  6. Click OK at the bottom of the Properties dialog.

    You are back in the WebFacing Projects view. You have changed the authentication behavior for this link (application). In this WebFacing project you only have one link, but imagine that you have multiple entry points into your application like a menu. You could specify a different authentication behavior for each of these links. On the other hand, if you have multiple links in a WebFacing project and the authentication should be the same for each different link, then you can specify an authentication rule on the project level. To do this, just go to the project properties page instead of the CL command properties page and specify the desired authentication behavior there.

You have started the Properties dialog, opened the project run-time properties and changed the signon properties for the order entry application and now you are ready to begin Exercise 10.2: Testing the authentication dialog.