Servlet Security Property Editor

This property editor enables you to specify a principal name for a servlet, which is used for the run-as role defined in web.xml. You open the Servlet Security property editor by selecting the Servlet Security property and its ellipsis (...) button from the Sun ONE AS pane of the web.xml property sheet.

To specify a principal name for a servlet:

  1. From the Servlet Security property editor, click Add.
  2. Select the servlet name in the Servlet Name field and type its principal name in the Principal Name field.
  3. Click OK. The information you have specified is reflected in the property editor. You may add additional mapping by clicking Add.

To edit a mapping:

  1. From the Servlet Security property editor, select the mapping and click Edit.
  2. Change the servlet name and principal name in the dialog box.
  3. Click OK. The information you have modified is reflected in the property editor.

To remove a mapping:


See also
   Web Module Property Sheet: Sun ONE AS Tab

Legal Notices