Exercise 10.2: Testing the authentication dialog

Before you begin, you must complete Exercise 10.1: Removing the default user ID and password.

As before, you run your application in the WebSphere Application Server Test Environment.

To test the authentication dialog:

  1. Right-click index.jsp.
  2. Click Run > Run on Server on the pop-up menu.
  3. Click the Launch link.

    You will see the authentication dialog.
    WebFacing tool, logon dialog

  4. Specify your User Name and Password.
  5. Click the Logon push button on the Authentication dialog.

    The application will run like before, if the job environment for the user ID you specified is setup correct for this application.

  6. If the LOGON dialog doesn't appear, restart the Application server.
    1. Click the Servers tab at the top view in the workbench.
    2. Right-click the server icon.
      Restart server
    3. Click Restart > Start on the pop-up menu.
    4. Run the application again.

You have tested that the signon dialog appears.

Module recap

You have completed Module 10. Adding authentication. You have learned how to:

You have created a WebFacing application and now want to enhance the look of the index.jsp page to give the start page of this application a professional appearance. The workbench contains several tools to design and enhance Web pages. Also with the workbench you have access to sample pictures, icons, animations, and more. You will use some of these tools and samples and enhance the page so it becomes more attractive. Continue to Module 11. Enhancing index.jsp page.