Security

In the Security dialog box, you can define how users are authenticated to the server, and which users have access to particular resources.

Choose the Authentication Method

To choose the authenticfation method for users do the following:

  1. From the User Authentication Method menu, choose one of these methods:
  2. If you chose Basic or Form Based authentication, click Settings to go to the User Authentication Settings dialog to choose the realm name or the login page and error page.

Define Security Constraints

In the Security Constraints section of the screen, you can define the for accessing the content of your WAR file:

  1. Click the Add button adjacent to the Security Constraints field and select the appropriate security constraint..
  2. With the security constraint selected, click the Add button in the Web Resource Collections pane to add a to the security constraint.
  3. Enter the name of the web resource collection in the Web Resource Collections field.
  4. Click Edit to add resources to the web resource collection.
  5. Select the GET or POST checkbox to specify the HTTP methods that can be called on these resources. You must select at least one of the HTTP methods.
  6. From the Network Security requirement menu, select the , either None, , or .
  7. In the Authorized Roles pane, click Edit to define the for this security constraint.


Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.