Declare Role References

In the Component Security dialog box, enter the from your web component's code and map them to the .
  1. Click Add.
  2. In the Coded Name column, enter the security role reference hardcoded in the web component's isUserInRole methods.
  3. Click Edit Roles if the security role name that you want to map to the security role reference is not listed in the Role Name column.
  4. Select the security role name that maps to the coded name from the drop-down menu in the Role name column.

To delete a role name from the table, select the role name and click Delete. A confirmation dialog will ask if you really want to delete the role name.

See Also:

Edit Role References
Edit Roles


Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.